Re: handling errors

From: Date: Thu, 27 Sep 2001 10:08:20 +0000
Subject: Re: handling errors
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-68975@lists.php.net to get a copy of this message
On Thursday 27 September 2001 12:00, * R&zE: wrote: > > Right in principle. But there are cases (common ones), like the one > > shown above, where errors are unavoidable and normal. For these cases > > the @ operator is the right thing. Generally you're right though - > > error reporting should be set to E_ALL and reasons of avoidable > > errors/warnings should be eliminated. > > Correct me if I'm wrong, but I saw some posts coming along on this > list yesterday (I think) telling that getImageSize can't handle > URL's. So... in that case... Don't use @, but check the syntax of > the variable you want to pass as parameter for getImageSize. According to my docs (08 Sep 2001) it can. And http://php.net/getimagesize says the same.. -- Christian Reiniger LGDC Webmaster (http://lgdc.sunsite.dk/) REALITY.SYS corrupted ... reboot Universe [Y,n]?

« previous php.general (#68975) next »