#23568 [NEW]: bad documentation for stat()

From: Date: Fri, 09 May 2003 21:21:27 +0000
Subject: #23568 [NEW]: bad documentation for stat()
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969353304@lists.php.net to get a copy of this message
From: didou at nexen dot net Operating system: ALL PHP version: 4.3.1 PHP Bug Type: Documentation problem Bug description: bad documentation for stat() 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 bug report at http://bugs.php.net/?id=23568&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=23568&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=23568&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=23568&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=23568&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=23568&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=23568&r=support Expected behavior: http://bugs.php.net/fix.php?id=23568&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=23568&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=23568&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=23568&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23568&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=23568&r=dst IIS Stability: http://bugs.php.net/fix.php?id=23568&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=23568&r=gnused

« previous php.doc (#969353304) next »