note 95861 added to function.array-merge-recursive
| From: | SijmenRuwhof at osu1 dot php dot net | Date: | Tue, 26 Jan 2010 16:30:02 +0000 |
| Subject: | note 95861 added to function.array-merge-recursive | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-165318@lists.php.net to get a copy of this message | ||
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().
----
Server IP: 213.249.64.162
Probable Submitter: 77.251.103.61
----
Manual Page -- http://www.php.net/manual/en/function.array-merge-recursive.php
Edit -- https://master.php.net/note/edit/95861
Del: integrated -- https://master.php.net/note/delete/95861/integrated
Del: useless -- https://master.php.net/note/delete/95861/useless
Del: bad code -- https://master.php.net/note/delete/95861/bad+code
Del: spam -- https://master.php.net/note/delete/95861/spam
Del: non-english -- https://master.php.net/note/delete/95861/non-english
Del: in docs -- https://master.php.net/note/delete/95861/in+docs
Del: other reasons-- https://master.php.net/note/delete/95861
Reject -- https://master.php.net/note/reject/95861
Search -- https://master.php.net/manage/user-notes.php