note 64839 deleted from function.array-reduce by bjori
| From: | bjori@php.net | Date: | Fri, 21 Apr 2006 15:35:11 +0000 |
| Subject: | note 64839 deleted from function.array-reduce by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-108935@lists.php.net to get a copy of this message | ||
Note Submitter: chad 0x40 herballure 0x2e com
Reason: useless
----
For those used to more capable languages, note that (definitely in 5.1.2) the 'int
initial' in the documentation really does mean "only int will work". You can't
use array_reduce to build up an array by supplying an empty array for initial and appending to it in
the callback.