Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:76501 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 7994 invoked from network); 14 Aug 2014 00:02:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Aug 2014 00:02:26 -0000 Authentication-Results: pb1.pair.com header.from=kris.craig@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=kris.craig@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.177 as permitted sender) X-PHP-List-Original-Sender: kris.craig@gmail.com X-Host-Fingerprint: 209.85.214.177 mail-ob0-f177.google.com Received: from [209.85.214.177] ([209.85.214.177:44494] helo=mail-ob0-f177.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 49/00-07085-19CFBE35 for ; Wed, 13 Aug 2014 20:02:25 -0400 Received: by mail-ob0-f177.google.com with SMTP id wp18so370790obc.22 for ; Wed, 13 Aug 2014 17:02:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=40ycJ2ypyYuo61VtXMXW9PWfmpxHZPNqfYoyGKGQIH8=; b=ygu1lc2Vc+vzpoxB4WpKcz+qzMMm4UbzrflKiuSio1CGBEEROUazw/rtJC17EwQXQs PqQOGYYRB2hQbZmvt5QsUl0cXvfcWZrrEEOu94HTwMCnqtcBZv95jEFMGqUuQ1t8DHW/ K/QNAGERZk6J8dfPcJR15i2GVUqi2uwhjH3ByEBqghXJnzIT4KCZsX0wFHXipwZLadt8 CutKjzRn7/TauVwyOm1L8RqzH2gVpdGkQs14Nk6/3oULJYEKHSAXE8QfFeVCCmjjaGqN jkpY+rXUN0JRxqsjjvYU0ov1Z9PYLuVQKbI2VNbRJfZmUeiJY4WBB8abZ8jCksplLMd4 3jIA== MIME-Version: 1.0 X-Received: by 10.182.104.104 with SMTP id gd8mr8152647obb.17.1407974542216; Wed, 13 Aug 2014 17:02:22 -0700 (PDT) Received: by 10.202.93.213 with HTTP; Wed, 13 Aug 2014 17:02:22 -0700 (PDT) In-Reply-To: References: <942D2AF6-BDC2-4214-BD58-4B5945C28CE3@ajf.me> Date: Wed, 13 Aug 2014 17:02:22 -0700 Message-ID: To: Drew Paroski Cc: PHP internals , Peter Cowburn , Andrea Faulds , Pierre Joye , Ferenc Kovacs , James , Matthew Fonda , Sara Golemon Content-Type: multipart/alternative; boundary=089e01160bf8711c6e05008b9e60 Subject: Re: [PHP-DEV] [RFC] Disallow multiple default blocks in a single switch statement From: kris.craig@gmail.com (Kris Craig) --089e01160bf8711c6e05008b9e60 Content-Type: text/plain; charset=UTF-8 On Wed, Aug 13, 2014 at 3:21 PM, Drew Paroski wrote: > On 6 August 2014 12:32, Ferenc Kovacs wrote: > > > > I'm not sure what would be the best solution, but if we don't version the > > spec, then when we introduce BC breaks or simply new features in a new > > version which is in turn get's added to the spec, that would make the > older > > php version's(from any implementation) not being compliant with the spec. > > I agree with Andrea that this fix/change is arguably not a BC break. For > something where there is broad consensus that it's a bug (or at the very > least > highly undesirable behavior) and the fix has very low risk of breaking > existing > programs, it seems poor to update the spec to codify the bug. While the > goal of > the spec is to describe PHP 5.6's current behavior as it is, I think it > should > stop short of requiring that conforming implementations mimic existing > bugs in > php.net PHP 5.6. > > Making the spec codify bugs is bad for two reasons. First, it encourages > other > implementations to mimic bugs causing these bugs to propagate further and > making them harder to ultimately fix. Second, it makes the spec more > complicated and more difficult to maintain without delivering any real > value. > It's okay if php.net PHP is not 100% spec compliant as long as the all the > differences are considered bugs. > > Going the RFC route for this issue felt a bit a like overkill to me, but I > respect the process :). The spirited discussion here was interesting to > read > and informative. I don't have strong feelings about what version of > php.net PHP > the fix should be applied to, or whether it should be allowed but > E_DEPRECATED > for a period of time, but IMHO getting the fix in sooner rather than later > feels like the right way to go. > > For future cases like this that are initially filed as bugs, I think > discussion > should first focus exhaustively on determining whether or not the issue is > a > bug before moving on to discussing whether the spec should be changed. I > think > this will help reduce churn on the spec and will keep things simpler and > more > light-weight for most cases like this. > > -Drew > > On Wed, Aug 13, 2014 at 9:22 AM, Matthew Fonda > wrote: > > On Wed, Aug 13, 2014 at 3:24 AM, Peter Cowburn > > wrote: > >> > >> My thoughts on the topic? I think we're in danger of letting "process" > get > >> in our way here. It's a bug fix which IMHO should even be thrown into > 5.6 > >> (this is a bug fix!). Going through the RFC process, being forced to > wait > >> for 5.7 or 7, extended discussions on the list... it all just seems > >> unnecessary. But, that's just the opinion of a docs guy. :-) > > > > > > +1, my thoughts as well. > > > > Best regards, > > --Matt > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > I do feel it necessary to point out at this juncture that the last 16 hours of this thread are EXACTLY why the RFC process requires a minimum of two weeks of discussion before voting is initiated on language-touching proposals. I'll repeat my request that the author either cancel the premature vote and wait the full two weeks or just cancel the RFC altogether. If you don't feel an RFC is necessary, that's fine. But if you do post an RFC, please follow the rules. --Kris --089e01160bf8711c6e05008b9e60--