<Original message>
From: Jason G. <[EMAIL PROTECTED]>
Date: Thu, Sep 27, 2001 at 03:25:16AM -0400
Subject: Re: [PHP] handling errors

> Placing an @ symbol before the function name will suppress any errors.
> @GetImageSize()

</Original message>


Yep, I know it does. Yet, it's still no good way of handling your
errors/warnings. Unless you made some real intensive errorchecking
yourself, you should not use that @-construction or lower the
errorreportinglevel. Reporting should be as high as possible
(E_ALL). And yes, indeed, it might then just be that you get a lot
of warnings (and/or errors). Then you have to fix your code, not
start using @ in order to supress them. Errors and warnings are not
reported without a reason you know. Even if your code works, when
there are warnings it can still happen that in some situation the
code will crash.



* R&zE:

-- Renze Munnik
-- DataLink BV
-- W: +31 23 5326162
-- F: +31 23 5322144
-- M: +31 6 21811143
-- Stationsplein 82
-- 2011 LM  HAARLEM
-- Netherlands
-- http://www.datalink.nl

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to