Doc #76668 [Ver->Csd]: array_walk() never returns FALSE
| From: | cmb@php.net | Date: | Thu, 26 Jul 2018 14:38:57 +0000 |
| Subject: | Doc #76668 [Ver->Csd]: array_walk() never returns FALSE | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-15930@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=76668&edit=1
ID: 76668
Updated by: cmb@php.net
Reported by: steffen at haugk dot co dot uk
Summary: array_walk() never returns FALSE
-Status: Verified
+Status: Closed
Type: Documentation Problem
Package: Arrays related
PHP Version: 7.1.20
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2018-07-26 14:38:27] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=345396
Log: Fix #76668: array_walk() never returns FALSE
------------------------------------------------------------------------
[2018-07-26 10:28:09] cmb@php.net
From looking at the implementation[1], apparently array_walk()
never returns FALSE.
[1] <https://github.com/php/php-src/blob/php-7.2.8/ext/standard/array.c#L1502-L1527>
------------------------------------------------------------------------
[2018-07-26 10:15:34] steffen at haugk dot co dot uk
Description:
------------
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:
---------------
%
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=76668&edit=1