I have an array of arrays of associative arrays like this
$my_array = [
[ 8 => "One" ],
[ 3=>"Two" ]
]
How can I like explode all the associative arrays into one array like this
[
8 => "One",
3 =>"Two"
]
I tried using array_merge(...$my_array)
and all it gives is
[
0 => "One"
1 => "Two"
]