Contoh kompak dalam php

$pavbhaji = "My favourite food";
$burgur = "too yummy!";
$kajukatri = 'too sweet';
// it will convert variable into array
$arr = compact("pavbhaji","burgur", 'kajukatri');
echo '<pre>';
print_r($arr);
kinjal suryavanshi