It is better because it won't show up on most systems. As far as taking out the error message entirely, that is not a good idea because that takes away your ability to determine what went wrong in parsing of the file.

On 8-May-07, at 3:18 PM, Derick Rethans wrote:

On Tue, 8 May 2007, Ilia Alshanetsky wrote:

iliaa           Tue May  8 18:38:21 2007 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src    NEWS
    /php-src/ext/standard       image.c
  Log:

Fixed bug #41321 (downgrade read errors in getimagesize() to E_NOTICE).

I don't see how E_NOTICE is better than E_WARNING... do we need a
warning at all here? I would say no.

regards,
Derick

--
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org

Ilia Alshanetsky

--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to