|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #76668 array_walk() never returns FALSE
Submitted: 2018-07-26 10:15 UTC Modified: 2018-07-26 14:38 UTC
From: steffen at haugk dot co dot uk Assigned: cmb (profile)
Status: Closed Package: Arrays related
PHP Version: 7.1.20 OS:
Private report: No CVE-ID: None
 [2018-07-26 10:15 UTC] steffen at haugk dot co dot uk
The documentation of array_walk says

Returns TRUE on success or FALSE on failure.

Would it be helpful to explain in the documentation what constitutes a failure? 

Test script:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2018-07-26 10:28 UTC]
-Summary: Question on return value of array_walk +Summary: array_walk() never returns FALSE -Status: Open +Status: Verified -Package: Documentation problem +Package: Arrays related
 [2018-07-26 10:28 UTC]
From looking at the implementation[1], apparently array_walk()
never returns FALSE.

[1] <>
 [2018-07-26 14:38 UTC]
Automatic comment from SVN on behalf of cmb
Log: Fix #76668: array_walk() never returns FALSE
 [2018-07-26 14:38 UTC]
-Status: Verified +Status: Closed -Assigned To: +Assigned To: cmb
 [2018-07-26 14:38 UTC]
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.
 [2020-02-07 06:05 UTC]
Automatic comment on behalf of cmb
Log: Fix #76668: array_walk() never returns FALSE
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Fri May 14 21:01:24 2021 UTC