(PHP 5 >= 5.3.0, PHP 7)
Replaces elements from passed arrays into the first array
array array_replace ( array $array1, array $array2 [, array $... ] )
array_replace() replaces the values of array1 with values having the same keys in each of the following arrays. If a key from the first array exists in the second array, its value will be replaced by the value from the second array. If the key exists in the second array, an