array_replace_recursive in PHP

Syntax of array_replace_recursive array array_replace_recursive(array array1, array array2[, … array arrayN]) 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 the value in both array1 and a replacement array for … Read more