Re: Coding Standards : misuse of the @ error control operator
| From: | Alan Knowles | Date: | Thu, 24 Apr 2003 11:22:52 +0000 |
| Subject: | Re: Coding Standards : misuse of the @ error control operator | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-15458@lists.php.net to get a copy of this message | ||
assuming that it is a bug with dbg.. I would support "banning" it from items likely to cause fatal errors or highly unpredictable behaviour - like @include or @include_once.. - however just for hiding uninitialized variables where it replaces if isset$x && $x, does make a bit of sense..
Regards
Alan
Lukas Smith wrote:
-- Can you help out? Need Consulting Services or Know of a Job? http://www.akbkhome.comFrom: Alan Knowles [mailto:alan@akbkhome.com] Sent: Thursday, April 24, 2003 1:18 PM To: Frederic Poeydomenge Cc: PEAR Development Mailing List Subject: Re: [PEAR-DEV] Coding Standards : misuse of the @ errorcontroloperator which version of php are you using - if you are getting errors from thing 'supposed' to be hiden by an @ sign - it's likely to be a bug in PHP..maybe he is using DBG. I noticed that DBG seems to ignore '@'. Regards, Lukas