有人能解釋PHP的compact()函式接受“一個同名變數”字串而不是實際變數的好處嗎? 例如: $foo = 'foo'; $bar = 'bar'; $compacted = compact('foo', 'bar');
確定! 回上一頁