February 2013
Intermediate to advanced
538 pages
20h 55m
English
array_replace
array array_replace(arrayarray1, arrayarray2[, ... arrayarrayN])
Returns an array created by replacing values in
array1 with values from the other arrays.
Elements in array1 with keys matching in
the replacement arrays are replaced with the values of those
elements.
If multiple replacement arrays are provided, they are processed
in order. Any elements in array1 whose keys
do not match any keys in the replacement arrays are preserved.
Read now
Unlock full access