note 95861 deleted from function.array-merge-recursive by danbrown
| From: | danbrown@php.net | Date: | Tue, 26 Jan 2010 16:37:15 +0000 |
| Subject: | note 95861 deleted from function.array-merge-recursive by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-165319@lists.php.net to get a copy of this message | ||
Note Submitter: Sijmen Ruwhof
----
I see a lot of duplicated functions in the comments below that behave exactly the same like the
array_replace_recursive() function that's built into PHP >= 5.
So if you look for a function that behaves exactly like array_merge_recursive(), but replaces the
values of the first array with the same values from all the following arrays, then use
array_replace_recursive().