ID:               17608
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 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] [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

Reply via email to