PHP menginisialisasi array dua dimensi secara dinamis

$array_ = [];

foreach ($queryresult as $row){
   $array_[] = [$row['id'], $row['title']];
}  

var_dump($array_);
Skynet