map_merge($map1, $map2)
Merges two maps together into a new map. Keys in $map2 will take precedence over keys in $map1.
This is the best way to add new values to a map.
All keys in the returned map that also appear in $map1 will have the same order as in $map1. New keys from $map2 will be placed at the end of the map.
Like all map functions, map-merge() returns a new map rather than modifying its arguments in place.
Please login to continue.