I have two arrays,
Array 1(
'A' => string '13' (length=2)
'B' => string '13' (length=2)
)
Array 2(
9 => string '13' (length=2)
)
But when I use array_merge
to combine these arrays
, it shows me like this
Array(
'A' => string '13' (length=2)
'B' => string '13' (length=2)
0 => string '13' (length=2)
)
Everytime when there is numeric value, in array_merge
it increments automatically, not taking original value.