Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:24362 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 36202 invoked by uid 1010); 12 Jul 2006 23:48:36 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 36186 invoked from network); 12 Jul 2006 23:48:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Jul 2006 23:48:36 -0000 X-PHP-List-Original-Sender: lsmith@php.net X-Host-Fingerprint: 212.112.227.169 ipx11223.ipxserver.de Linux 2.5 (sometimes 2.4) (4) Received: from ([212.112.227.169:58080] helo=ipx11223.ipxserver.de) by pb1.pair.com (ecelerity 2.1.1.3 r(11751M)) with ESMTP id 21/4B-63905-35A85B44 for ; Wed, 12 Jul 2006 19:48:36 -0400 Received: from localhost (localhost [127.0.0.1]) by ipx11223.ipxserver.de (Postfix) with ESMTP id 10A83DF00B7; Thu, 13 Jul 2006 02:31:25 +0200 (CEST) Received: from ipx11223.ipxserver.de ([127.0.0.1]) by localhost (flottensignalgeber [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 23177-10; Thu, 13 Jul 2006 02:31:16 +0200 (CEST) Received: from [127.0.0.1] (i577B41AC.versanet.de [87.123.65.172]) by ipx11223.ipxserver.de (Postfix) with ESMTP id 24716DF0004; Thu, 13 Jul 2006 02:31:16 +0200 (CEST) Message-ID: <44B58A36.2010900@php.net> Date: Thu, 13 Jul 2006 01:48:06 +0200 User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: Lukas Smith Cc: internals@lists.php.net References: <0F.C0.46743.0CB15B44@pb1.pair.com> In-Reply-To: <0F.C0.46743.0CB15B44@pb1.pair.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by somedaemon at backendmedia.com Subject: Re: E_STRICT From: lsmith@php.net (Lukas Smith) Lukas Smith wrote: Ok I see 2 options: 1) > Obviously one solution would be to disallow making anything an E_STRICT > notice that is not available since the first release of the given major > version. Pierre and Anthony seem to favor this solution. 2) > 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. From IRC discussions and the PEAR ML I think Michael and Marcus favor this solution. I also prefer this solution. regards, Lukas