#46482 [Opn->Csd]: function end() documentation does not specify return value for empty array
| From: | vrana@php.net | Date: | Tue, 04 Nov 2008 16:25:06 +0000 |
| Subject: | #46482 [Opn->Csd]: function end() documentation does not specify return value for empty array | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-1312@lists.php.net to get a copy of this message | ||
ID: 46482
Updated by: vrana@php.net
Reported By: mikko dot rantalainen at peda dot net
-Status: Open
+Status: Closed
Bug Type: Documentation problem
Operating System: linux
PHP Version: Irrelevant
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.
"Returns the value of the last element or FALSE for empty array."
Previous Comments:
------------------------------------------------------------------------
[2008-11-04 15:39:43] mikko dot rantalainen at peda dot net
Description:
------------
http://php.net/end
Expected result:
----------------
"Return Values
Returns the value of the last element or FALSE if array is empty."
(similar to reset()).
Actual result:
--------------
"Return Values
Returns the value of the last element."
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=46482&edit=1