Re: E_NOTICE
| From: | Tomas V.V.Cox | Date: | Thu, 02 Aug 2001 12:39:23 +0000 |
| Subject: | Re: E_NOTICE | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-1235@lists.php.net to get a copy of this message | ||
"Stig S. Bakken" wrote:
>
> Hi,
>
> With the recent security discussion on php-dev in mind, I think we
> should start to develop our PEAR code with E_NOTICE enabled. It's a
> real pain in the ass in the beginning, but chances are you'll find bugs,
> and people who switch to "more annoying" error reporting as a result of
> this discussion or changed defaults in coming PHP versions will be able
> to start using your code without @-silencing every single call.
>
Where started this discussion? I haven't be able to find it.
Putting a simple: error_reporting (E_ALL); at the top of the code is
always a good practise.
Tomas V.V.Cox