php-general | 2001092
Date: 09/27/01
- Next message: Jason G.: "Re: [PHP] array"
- Previous message: Jason G.: "Re: [PHP] handling errors"
- In reply to: Jason G.: "Re: [PHP] handling errors"
- Next in thread: Jason G.: "Re: [PHP] handling errors"
- Reply: Jason G.: "Re: [PHP] handling errors"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
<Original message>
From: Jason G. <blair <email protected>>
Date: Thu, Sep 27, 2001 at 03:25:16AM -0400
Message-ID: <5.1.0.14.0.20010927032422.0797b078 <email protected>>
Subject: Re: [PHP] handling errors
> Placing an @ symbol before the function name will suppress any errors.
> <email protected>()
</Original message>
<Reply>
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 <email protected> 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.
</Reply>
--* R&zE:
-- »»»»»»»»»»»»»»»»»»»»»»»» -- Renze Munnik -- DataLink BV -- -- E: renze <email protected> -- 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: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Jason G.: "Re: [PHP] array"
- Previous message: Jason G.: "Re: [PHP] handling errors"
- In reply to: Jason G.: "Re: [PHP] handling errors"
- Next in thread: Jason G.: "Re: [PHP] handling errors"
- Reply: Jason G.: "Re: [PHP] handling errors"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

