Bug #17608: array_reduce
| From: | postings dot php dot net at hans-spath dot de | Date: | Wed, 05 Jun 2002 12:10:59 +0000 |
| Subject: | Bug #17608: array_reduce | ||
| Groups: | php.bugs php.doc | ||
| Request: | Send a blank email to php-bugs+get-9534@lists.php.net to get a copy of this message | ||
From: postings.php.net@hans-spath.de
Operating system: All
PHP version: 4.2.1
PHP Bug Type: Documentation problem
Bug description: array_reduce
[ www.php.net/manual/en/function.array-reduce.php ]
>>>
mixed array_reduce ( array input, mixed callback [, int initial])
<<<
I think "mixed callback" should be changed to "string callback".
Furthermore, it would be a good idea to describe what parameters a given
callback function should have/handle.
--
Edit bug report at http://bugs.php.net/?id=17608&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17608&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17608&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17608&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17608&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17608&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17608&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17608&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17608&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17608&r=globals