RE: [PHP-DEV] RE: [PHP-DOC] #20822 [Com]: getimagesize() returning null instead of false
| From: | Mike Robinson | Date: | Thu, 05 Dec 2002 13:57:43 +0000 |
| Subject: | RE: [PHP-DEV] RE: [PHP-DOC] #20822 [Com]: getimagesize() returning null instead of false | ||
| References: | 1 | Groups: | php.dev php.doc |
| Request: | Send a blank email to php-dev+get-92120@lists.php.net to get a copy of this message | ||
Marcus Börger wrote:
> From my point of view accessing a file should result in an
> error if the file cannot be opened or in case of
> GetImageSize() a file operation cannot be executed. For
> example i would expect GetImageSize() to show an error if the
> information cannot be retrieved due to file corruptions.
I agree. Absolutely. Masking bona fide file operation errors would
be a huge mistake, IMHO.
Regards
Mike Robinson