$array
=
[
'color' => [
'favorite' => [
0 => 'red',
1 => 'green',
],
0 => 'blue',
],
0 => 5,
1 => 10,
]
#1
|
array_merge_recursive
|
(["color" => ["favorite" => "red"], 0 => 5], |