Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:6543 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 68588 invoked by uid 1010); 18 Dec 2003 16:44:20 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 68553 invoked from network); 18 Dec 2003 16:44:20 -0000 Received: from unknown (HELO sys33.mail.msu.edu) (35.9.75.133) by pb1.pair.com with SMTP; 18 Dec 2003 16:44:20 -0000 Received: from 66-65-38-11.nyc.rr.com ([66.65.38.11] helo=chiaraquartet.net) by sys33.mail.msu.edu with asmtp (Exim 4.24 #13) (TLSv1:AES256-SHA:256) id 1AX1G7-00051I-Ql; Thu, 18 Dec 2003 11:44:19 -0500 Message-ID: <3FE1D96B.3090308@chiaraquartet.net> Date: Thu, 18 Dec 2003 11:44:27 -0500 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Daniel Convissor CC: PHP Internals List References: <20031218124303.18e22274.paj@pearfr.org> <20031218140527.GA26390@panix.com> In-Reply-To: <20031218140527.GA26390@panix.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus: None found by Clam AV Subject: Re: [PHP-DEV] B3, pear segfault, and msgs about deprecated From: greg@chiaraquartet.net (Greg Beaver) 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 >