Date: 10/23/02
- Next message: philip <email protected>: "[PHP-DOC] #20047 [Opn]: add: file() returns false on failure"
- Previous message: none <email protected>: "[PHP-DOC] #18129 [Com]: Installation PHP 4.2.X with Apache 2.0.x"
- Next in thread: philip <email protected>: "[PHP-DOC] #20047 [Opn]: add: file() returns false on failure"
- Reply: philip <email protected>: "[PHP-DOC] #20047 [Opn]: add: file() returns false on failure"
- Reply: hholzgra <email protected>: "[PHP-DOC] #20047 [Opn]: add: file() returns false on failure"
- Reply: philip <email protected>: "[PHP-DOC] #20047 [Opn->Csd]: add: file() returns false on failure"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: info <email protected>
Operating system:
PHP version: 4.3.0-pre1
PHP Bug Type: Documentation problem
Bug description: file documentation a little inaccurate?
The documentation for the file() function does not state explicitly that
file will return false if the file does not exist. This is rather
confirmed and can be cross-checked by looking at the readfile page, but it
might be worth adding it though.
Then, shouldn´t the result data type be "mixed" instead of "array"?
-- Edit bug report at http://bugs.php.net/?id=20047&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=20047&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=20047&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=20047&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=20047&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=20047&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=20047&r=support Expected behavior: http://bugs.php.net/fix.php?id=20047&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=20047&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=20047&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=20047&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20047&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=20047&r=dst IIS Stability: http://bugs.php.net/fix.php?id=20047&r=isapi-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: philip <email protected>: "[PHP-DOC] #20047 [Opn]: add: file() returns false on failure"
- Previous message: none <email protected>: "[PHP-DOC] #18129 [Com]: Installation PHP 4.2.X with Apache 2.0.x"
- Next in thread: philip <email protected>: "[PHP-DOC] #20047 [Opn]: add: file() returns false on failure"
- Reply: philip <email protected>: "[PHP-DOC] #20047 [Opn]: add: file() returns false on failure"
- Reply: hholzgra <email protected>: "[PHP-DOC] #20047 [Opn]: add: file() returns false on failure"
- Reply: philip <email protected>: "[PHP-DOC] #20047 [Opn->Csd]: add: file() returns false on failure"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

