Use either of the built-in array functions:
array_merge_recursive
or array_replace_recursive
http://php.net/manual/en/function.array-merge-recursive.php
Use either of the built-in array functions:
array_merge_recursive
or array_replace_recursive
http://php.net/manual/en/function.array-merge-recursive.php