Re: [Fwd: E_ALL changes in 5.2/6.0]

From: Date: Mon, 15 May 2006 15:36:21 +0000
Subject: Re: [Fwd: E_ALL changes in 5.2/6.0]
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-42504@lists.php.net to get a copy of this message
Hi Justin! Justin Patrin wrote:
Greg, while I understand your sentiment, I have no idea what Marcus Boerger is saying below and so have no idea what the "changes" you refer to are.
I think Greg is talking about the following change in PHP_5_1: "Added E_STRICT warning in case of calling non-static method from incompatible context (this feature is staying for BC with php-4)." http://news.php.net/php.zend-engine.cvs/4733 So if you call a methode statically, which is not declared with keyword "static" (e.g. "PEAR::isError()"), you will get an E_STRICT error. Now Marcus has added E_STRICT to E_ALL in the PHP_5_2 branch (which is already done in HEAD/PHP6). So users will get Error Messages when using PEAR packages with PHP 5.2.x when using E_ALL error level. best regards Andreas

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