Re: Compatibility problems with PHP 5
| From: | Derick Rethans | Date: | Fri, 28 Nov 2003 09:04:39 +0000 |
| Subject: | Re: Compatibility problems with PHP 5 | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-5785@lists.php.net to get a copy of this message | ||
On Thu, 27 Nov 2003, Daniel Convissor wrote:
> Greetings:
>
> I have been testing/tweaking PHP 5 via a major OOP based project of mine
> that relies on PEAR::DB. There are some major hangups, most of which I've
> mentioned in other places. To be complete, I'll touch on them here.
>
> 1) The "var: Deprecated." warning from the new E_STRICT level is a real
> pain. Now, in order to have code that will run under PHP 4 and 5, all
> users will have to change their errro reporting level to * ~E_STRICT.
> Worse, since strict is disabled, people won't be able to see really major
> deprication problems problems. I urge var deprication be removed from
> E_STRICT until PHP 5 deployments far outweigh PHP 4 deployments.
Strict is strict, that's the whole point. You can either fix your code
or disable strict.
Derick