Bug #17608 Updated: array_reduce

From: Date: Wed, 05 Jun 2002 12:30:30 +0000
Subject: Bug #17608 Updated: array_reduce
References: 1  Groups: php.bugs php.doc 
Request: Send a blank email to php-bugs+get-9538@lists.php.net to get a copy of this message
ID: 17608 Updated by: goba@php.net Reported By: postings.php.net@hans-spath.de Status: Open Bug Type: Documentation problem Operating System: All PHP Version: 4.2.1 New Comment: Callbacks can be arrays array($obj, "methodname") as far as I can remember, so it's right as mixed callback IMHO. Goba Previous Comments: ------------------------------------------------------------------------ [2002-06-05 08:10:59] postings.php.net@hans-spath.de [ 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 this bug report at http://bugs.php.net/?id=17608&edit=1

« previous php.bugs (#9538) next »