Background: Trevor is working with a PHP implementation of a standard algorithm: take a main set of default name-value pairs, and update those name-value pa
array_replace_recursive($array, $array2);
This is the solution.