note 12025 deleted from function.is-file by vincent
| From: | vincent@php.net | Date: | Sat, 16 Aug 2003 21:25:27 +0000 |
| Subject: | note 12025 deleted from function.is-file by vincent | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-54487@lists.php.net to get a copy of this message | ||
Note Submitter: dziglar@nospam-visto.com
----
is_file() fails inappropriately in some cases. Such a function should not generate 'file not
found' type errors--but it can. That rather invalidates its usefulness for checking a
file's existence to *avoid* such errors.
If you encounter such problems, switch to using file_exists() instead.