error_reporting(E_ALL & ~E_NOTICE);
I added a var_dump(error_reporting()); and got 2039 out, as expected, but I am still getting E_STRICT warnings galore. I wonder if E_STRICT is on no matter what in head? I added & ~E_STRICT (which of course does nothing) and STILL get the warnings.
Greg
Daniel Convissor wrote:
Hi Pierre:
On Thu, Dec 18, 2003 at 12:43:03PM +0100, Pierre-Alain Joye wrote:
I got new messages (which where not displayed before): : var: Deprecated. Please use the public/private/protected modifiers in XXX.php on line XX
I noticed the same thing. The new E_STRICT reporting level produces such output. But, E_STRICT is turned off by default. Didn't have time to track down exactly what was going on, but I have a hunch that it is due to some of the PEAR install scripts set error_reporting by using numbers rather than constants.
--Dan
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php