Re: E_STRICT

From: Date: Wed, 12 Jul 2006 19:11:57 +0000
Subject: Re: E_STRICT
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-24355@lists.php.net to get a copy of this message
Hello, On 7/12/06, Lukas Smith <lsmith@php.net> wrote:
Adding such a filter API into PHP internals however seems like a considerably effort. Therefore my proposal would be to simply add a defined "header" to all E_STRICT messages that contains the PHP version in which this E_STRICT message was added. This way PEAR could provide its developer with a simple filter method that would take an error message inside a customer error handler and determine if it should be filtered out or not. What do you guys think?
It sounds like killing a tank with a fly, or the other way 'round. A E_STRICT fix does not break BC for a given package ([e]Z[end], pear, or foobar framework). Why not simply release a bug fixes release of this package? I think it is reasonnable to ask users to update to support the latest php releases (if they care about E_STRICT messages). As long as the E_STRICT additions are loudly and clearly listed in NEWS, Changelog and in the releases notes. Attention, that does not mean I like to open the doors to even more pedantic E_STRICT additions :-) Cheers, --Pierre

« previous php.internals (#24355) next »