📅  最后修改于: 2022-03-11 14:54:49.243000             🧑  作者: Mango
$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);