note 74494 deleted from function.array-merge by bjori
| From: | bjori@php.net | Date: | Sat, 14 Apr 2007 09:54:38 +0000 |
| Subject: | note 74494 deleted from function.array-merge by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-125395@lists.php.net to get a copy of this message | ||
Note Submitter: don AT dream-in-color.net
Reason: integrated
----
Actually the array_reduce approach won't work: The init argument can only be an integer (and
will be cast to an integer if you provide a non-int value). The call_user_func approach does work.
It's always a good idea to test your suggestions before posting them.