note 18615 deleted from function.filesize by aidan
| From: | aidan@php.net | Date: | Sun, 26 Sep 2004 00:21:49 +0000 |
| Subject: | note 18615 deleted from function.filesize by aidan | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-77349@lists.php.net to get a copy of this message | ||
Note Submitter: mufasa at firetiger dot net
----
NOTE: The filesize() function will report the usuall PHP run-time error _in addition to_ returning
false if it can't find the file. I assume any error with this function will report an error
too, but I've only tested for the file not found condition.
If you're expecting or allowing the script to go on after any such error, just add the @ symbol
before it to ignore the error. As always with the @ symbol though, still check any variables that
were expected to have a value in them from this function before you use them.