Categories

Updated: 01/26/2007

Array Merge And Replace

PHP provides a number of array merging functions but not one that does precisely this. What this will do is that it will add new values found in the new array if they don''t exist and update them if they do, performing this recursively if a sub-element of the new array is itself an array.
©2019 A--9.com