Re: svn: /pear/packages/Log/trunk/ package.php package.xml

From: Date: Mon, 28 Dec 2009 18:37:22 +0000
Subject: Re: svn: /pear/packages/Log/trunk/ package.php package.xml
References: 1 2 3  Groups: php.pear.cvs php.pear.dev 
Request: Send a blank email to pear-dev+get-53167@lists.php.net to get a copy of this message
Jon Parise wrote: > 2009/12/28 Helgi Þormar Þorbjörnsson <helgith@gmail.com>: >> You can not presently drop PHP 4 support in a minor release like that unless I'm >> missing some changed rules? >> Please correct me if I'm wrong. > > That's unfortunate because the PEAR infrastructure appears to support > such things. The problem that I am attempting to solve is thus: > > PHP5 introduced a deprecation warning for the '$a = &new' syntax that > worked in (and is required by?) PHP4. Because this warning is emitted > at compile-time, the syntax can't be conditionally based on a > version_compare() result (which is how I work around the other PHP4 > vs. PHP5 incompatibilities). > > This warning is only emitted under E_STRICT, but I don't think it's > reasonable to continue asking all PHP5 users of the PEAR Log package > to disable E_STRICT reporting. Keep in mind that E_STRICT is not part of E_ALL, so people who have it on have explicitly enabled it. -Rasmus

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