im trying to merge two arrays together. both have numeric keys and are unique. when i use array_merge, it re-indexes starting at 0.
so lets say i have
[2] = abc
[5] = cde
and i have
[32] = fge
[13] = def
i want to merge these two together maintaining the unique keys.
below is the explaination on the current merge behavior.. any way around this?
"If all of the arrays contain only numeric keys, the resulting array is given incrementing keys starting from zero."