#23568 [Asn->Csd]: bad documentation for stat()
| From: | alindeman@php.net | Date: | Fri, 09 May 2003 21:42:43 +0000 |
| Subject: | #23568 [Asn->Csd]: bad documentation for stat() | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969353307@lists.php.net to get a copy of this message | ||
ID: 23568
Updated by: alindeman@php.net
Reported By: didou at nexen dot net
-Status: Assigned
+Status: Closed
Bug Type: Documentation problem
Operating System: ALL
PHP Version: 4.3.1
Assigned To: alindeman
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2003-05-09 16:26:10] alindeman@php.net
Assigned to me, as I work mainly with notes.
------------------------------------------------------------------------
[2003-05-09 16:21:27] didou at nexen dot net
User's notes report 3 problems :
1 : stat() also stores the data in associative indices in the returned
array
2 : as some user's note say it, the numeric indices starts at 0 not 1
as the use of <orderedlist> display
3 : "lonewolf at WPI dot edu" claims that the function returns NULL if
an invalid filename is entered. Here's the result from 4.3.1
Stat failed for forum_poezferfrest.php (errno=2 - No such file or
directory
bool(false)
so the note must be removed and a little note about the Warning may be
added.
5 user's notes should be removed when this bug will be fixed.
Mehdi
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23568&edit=1