Re: Coding Standards : misuse of the @ error control operator
| From: | Davey | Date: | Thu, 24 Apr 2003 11:18:48 +0000 |
| Subject: | Re: Coding Standards : misuse of the @ error control operator | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-15457@lists.php.net to get a copy of this message | ||
I think he meant that without the @ it produces the notice/error, and that the argument should be checked before hand rather than relying on the error supression which is IMO sloppy coding.
- Davey
Lukas Smith wrote:
From: 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