Doc #61034 [Opn->Csd]: Return values incorrectly specified.
| From: | krakjoe@php.net | Date: | Wed, 23 Oct 2013 07:54:53 +0000 |
| Subject: | Doc #61034 [Opn->Csd]: Return values incorrectly specified. | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-10528@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=61034&edit=1
ID: 61034
Updated by: krakjoe@php.net
Reported by: dewi at dewimorgan dot com
Summary: Return values incorrectly specified.
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: Documentation problem
Operating System: Linux
PHP Version: 5.3.10
-Assigned To:
+Assigned To: krakjoe
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.
This was fixed previously, warning and example are provided, so closing the bug.
Previous Comments:
------------------------------------------------------------------------
[2012-02-09 23:54:24] dewi at dewimorgan dot com
Description:
------------
---
From manual page: http://www.php.net/function.feof#refsect1-function.feof-returnvalues
---
Documentation should specify that it also returns false on an invalid filehandle, even though that
is an "Error". (It does mention this below, in a warning section, but that's
different).
This insane behavior is not considered to be a bug, per:
https://bugs.php.net/bug.php?id=34652
Therefore, it should at least be documented properly, so that people checking out the return values
aren't reading a complete lie.
Documentation should also specify that it returns NULL in older PHP versions, if no arg was
specified. (Reproduced in 5.2.13, not in 5.3.3).
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=61034&edit=1