Prepend associative array elements to an associative array

Can’t you just do:

$resulting_array = $array2 + $array1;

?

Leave a Comment