Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:24363 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 46878 invoked by uid 1010); 13 Jul 2006 00:01:03 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 46854 invoked from network); 13 Jul 2006 00:01:03 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Jul 2006 00:01:03 -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.170 ug-out-1314.google.com Linux 2.4/2.6 Received: from ([66.249.92.170:53500] helo=ug-out-1314.google.com) by pb1.pair.com (ecelerity 2.1.1.3 r(11751M)) with ESMTP id 73/3A-63905-CD385B44 for ; Wed, 12 Jul 2006 19:21:01 -0400 Received: by ug-out-1314.google.com with SMTP id m2so49248ugc for ; Wed, 12 Jul 2006 16:20: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=HF8J3kcCERGorO88nLE2x+2xkuaWGFI3DhcV4z1QW06DTXe+b9Oc6PU8nJWQoGK7roJqInBa6W3lxxAVGSRVWxms6lsXgprKJDOGzqiEicwvGjmkLxlvm1C4bdgs0INRcpLMRroe3bFhPLh/zZ5DmCmAI6+urE9l/fq2SNt5Ne4= Received: by 10.66.240.12 with SMTP id n12mr59838ugh; Wed, 12 Jul 2006 16:20:58 -0700 (PDT) Received: by 10.66.220.11 with HTTP; Wed, 12 Jul 2006 16:20:57 -0700 (PDT) Message-ID: Date: Thu, 13 Jul 2006 01:20:57 +0200 To: "Lukas Smith" Cc: "Antony Dovgal" , internals@lists.php.net In-Reply-To: <44B579C7.7010103@php.net> 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> <44B54CAE.70909@zend.com> <44B579C7.7010103@php.net> Subject: Re: [PHP-DEV] E_STRICT From: pierre.php@gmail.com (Pierre) Hello, On 7/13/06, Lukas Smith wrote: > Strict Standards: Declaration of Europe::get_countries() should be > compatible with that of Scandinavia::get_countries() in - on line 14 > > So I dont really see where its killing a fly with a tank either. That's why I said it is killing a tank (userland) with a fly (adding this prefiy internally). > All that people then need to do is write a simple regexp, that filters out > the version number in the E_STRICT notice and pass it off to > version_compare(). Very trivial to implement in userland, nothing more > than changing a few strings in PHP core. End of story, problem solved. if foo-1.2.1 is E_STRICT compliant with 5.1.4 and foo-1.2.2 with 5.2.0, update to 1.2.2 must be the way. It is the safest way, the past shown us that some E_STRICT can be related to (sometimes critical) bugs and we should treat them as bugs. Also, I do not like the additions of pedantic E_STRICT, but that's another issue. I would hate to start to add such notice detections in any of my code, including pear. --Pierre