ID: 17608 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: Documentation problem Operating System: All PHP Version: 4.2.1 New Comment:
Ok, I've tested it and it worked as you descriebed. My fault. Previous Comments: ------------------------------------------------------------------------ [2002-06-05 08:30:30] [EMAIL PROTECTED] Callbacks can be arrays array($obj, "methodname") as far as I can remember, so it's right as mixed callback IMHO. Goba ------------------------------------------------------------------------ [2002-06-05 08:10:59] [EMAIL PROTECTED] [ 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