You can use this piece of code:
$array[] = ['Name' => 'aa', 'Surname' => 'bb'];
solved How do I insert an array inside an empty array in PHP?
You can use this piece of code:
$array[] = ['Name' => 'aa', 'Surname' => 'bb'];
solved How do I insert an array inside an empty array in PHP?