Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:24355 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 57902 invoked by uid 1010); 12 Jul 2006 19:12:02 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 57887 invoked from network); 12 Jul 2006 19:12:02 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Jul 2006 19:12:02 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; domainkeys=good DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 66.249.92.175 ug-out-1314.google.com Linux 2.4/2.6 Received: from ([66.249.92.175:17326] helo=ug-out-1314.google.com) by pb1.pair.com (ecelerity 2.1.1.3 r(11751M)) with ESMTP id C1/A3-63905-18945B44 for ; Wed, 12 Jul 2006 15:12:02 -0400 Received: by ug-out-1314.google.com with SMTP id k3so356309ugf for ; Wed, 12 Jul 2006 12:11:58 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=JEXvE6BGm5dzrfW0n1DNppjV9EnyvM3m0VxEs6x+uu6aLxKxyfC6mdcqUepnViDM2NHl2ygWcOxYbodAcatX0aMR3zJXiSoGAzXRkK2FaP2AXLmUWJHLZAHCTM+sAEAE/hnBMtYO5aH8pQCf89MySwTZ3Q3pKaIe8j0E9zLwvfk= Received: by 10.67.101.10 with SMTP id d10mr705913ugm; Wed, 12 Jul 2006 12:11:58 -0700 (PDT) Received: by 10.66.220.11 with HTTP; Wed, 12 Jul 2006 12:11:57 -0700 (PDT) Message-ID: Date: Wed, 12 Jul 2006 21:11:57 +0200 To: "Lukas Smith" Cc: internals@lists.php.net In-Reply-To: <0F.C0.46743.0CB15B44@pb1.pair.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <0F.C0.46743.0CB15B44@pb1.pair.com> Subject: Re: [PHP-DEV] E_STRICT From: pierre.php@gmail.com (Pierre) Hello, On 7/12/06, Lukas Smith 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