#23473 [NEW]: array_walk return value is not int but bool
| From: | phpbug at trancer dot nl | Date: | Sun, 04 May 2003 01:00:01 +0000 |
| Subject: | #23473 [NEW]: array_walk return value is not int but bool | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969353128@lists.php.net to get a copy of this message | ||
From: phpbug at trancer dot nl
Operating system:
PHP version: 5CVS-2003-05-03 (dev)
PHP Bug Type: Documentation problem
Bug description: array_walk return value is not int but bool
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 bug report at http://bugs.php.net/?id=23473&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=23473&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=23473&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=23473&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=23473&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=23473&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=23473&r=support
Expected behavior: http://bugs.php.net/fix.php?id=23473&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=23473&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=23473&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=23473&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23473&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=23473&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=23473&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=23473&r=gnused