I have 2 arrays to merge. The first array is multidimensional, and the second array is a single array:
$a = array(
array('id'=>'1', 'name'=>'Mike'),
array('id'=>'2', 'name'=>'Lina'),
);
$b = array('id'=>'3', 'name'=>'Niken');
How to merge 2 arrays to have same array depth?