I have one multidimensional array I need to merge. This one has two pockets, future arrays could have four or six. All solutions I find start with two arrays, but I only have one. This doesn't seem like it should be difficult, but I can't find a solution.
I need this:
Array (
[0] => Array (
[51] => 1
[52] => 1
)
[1] => Array (
[75] => 1
[76] => 1
)
)
To be this:
Array (
[0] => Array (
[51] => 1
[52] => 1
[75] => 1
[76] => 1
)
)
foreach(){}?[$array[0] + $array[1]]