Re: B3, pear segfault, and msgs about deprecated

From: Date: Thu, 18 Dec 2003 16:44:27 +0000
Subject: Re: B3, pear segfault, and msgs about deprecated
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-6543@lists.php.net to get a copy of this message
The only call to error_reporting() is in pearcmd.php: 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


« previous php.internals (#6543) next »