php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #23473 array_walk return value is not int but bool
Submitted: 2003-05-03 20:00 UTC Modified: 2003-05-03 20:06 UTC
From: phpbug at trancer dot nl Assigned:
Status: Closed Package: Documentation problem
PHP Version: 5CVS-2003-05-03 (dev) OS:
Private report: No CVE-ID: None
 [2003-05-03 20:00 UTC] 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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-05-03 20:06 UTC] alindeman@php.net
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.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Fri Oct 09 22:00:02 2026 UTC