Re: E_NOTICE

From: Date: Thu, 02 Aug 2001 13:13:56 +0000
Subject: Re: E_NOTICE
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-1238@lists.php.net to get a copy of this message
Quoting "Stig S. Bakken" <ssb@alltheweb.com>: > 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. I've been writing all of my php code with error_reporting(E_ALL) on for three years now. It's not a pain in the ass, it's just good programming practice. And it really does point out a lot of things that might not be obvious at first. I think it would be _very_ reasonable to require all PEAR code to run cleanly at the E_ALL level. -chuck -- Charles Hagenbuch, <chuck@horde.org> Some fallen angels have their good reasons.

« previous php.pear.dev (#1238) next »