📜  php代码示例中的紧凑示例

📅  最后修改于: 2022-03-11 14:54:49.243000             🧑  作者: Mango

代码示例1
$pavbhaji = "My favourite food";
$burgur = "too yummy!";
$kajukatri = 'too sweet';
// it will convert variable into array
$arr = compact("pavbhaji","burgur", 'kajukatri');
echo '
';
print_r($arr);