note 9038 added to array_merge_recursive
| From: | kc at hireability dot com | Date: | Thu, 12 Oct 2000 21:13:15 +0000 |
| Subject: | note 9038 added to array_merge_recursive | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-6419@lists.php.net to get a copy of this message | ||
I think I found a bug right after I submitted. The 5th line should be:
if (is_array($val) && is_array($newarray[$key])) {
http://www.php.net/manual/function.array-merge-recursive.php