#23473 [Opn->Csd]: array_walk return value is not int but bool

From: Date: Sun, 04 May 2003 01:06:26 +0000
Subject: #23473 [Opn->Csd]: array_walk return value is not int but bool
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969353130@lists.php.net to get a copy of this message
ID: 23473 Updated by: alindeman@php.net Reported By: phpbug at trancer dot nl -Status: Open +Status: Closed Bug Type: Documentation problem PHP Version: 5CVS-2003-05-03 (dev) New Comment: This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2003-05-03 20:00:01] phpbug at trancer dot nl According to your manual: int array_walk ( array array, callback function [, mixed userdata]) According to lxr http://lxr.php.net/source/php4/ext/standard/array.c: 1012 /* {{{ proto bool array_walk(array input, string funcname [, mixed userdata]) 1013 Apply a user function to every member of an array */ So it should be bool. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=23473&edit=1

« previous php.doc (#969353130) next »