Newsgroups: php.internals,php.standards Path: news.php.net Xref: news.php.net php.internals:76404 php.standards:362 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 8308 invoked from network); 6 Aug 2014 19:35:57 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Aug 2014 19:35:57 -0000 Authentication-Results: pb1.pair.com smtp.mail=adam@adamharvey.name; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=adam@adamharvey.name; sender-id=pass Received-SPF: pass (pb1.pair.com: domain adamharvey.name designates 209.85.223.175 as permitted sender) X-PHP-List-Original-Sender: adam@adamharvey.name X-Host-Fingerprint: 209.85.223.175 mail-ie0-f175.google.com Received: from [209.85.223.175] ([209.85.223.175:46408] helo=mail-ie0-f175.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B6/01-00245-C9382E35 for ; Wed, 06 Aug 2014 15:35:57 -0400 Received: by mail-ie0-f175.google.com with SMTP id x19so3431597ier.20 for ; Wed, 06 Aug 2014 12:36:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adamharvey.name; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=fmVkyei/f2ahQ4IdjUeqLv3kJPONxykQCR0wN1G9qh4=; b=nGJnDbCSkTda74Qjow6ue+l7aPLR1vxKUvT397LU80CzO4TwSXJ+re5gEz0QRGogmZ +tZAJ5dtUuLqcMSgRuGVvNFYg+WguF5gvPjA2+5seBUHkw8uwkH8ilevIbjzjANql71Z wpgEHcxoIqE69Hy544ddXsKlBTA2rt4BSqH1Q= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-type; bh=fmVkyei/f2ahQ4IdjUeqLv3kJPONxykQCR0wN1G9qh4=; b=i/bCu5qklY3HqtrLCHd1FweGIZPiFAW8WlQa74inEmQa5ToJJ/Ymx2bOM+yrlFEiH4 Exb8st3Zb3Fu64F1lX73yjnxurjl8WQplQP3EMGOXYY/LLdMC6zUBW4tg7Cp3jdSOKZw 1etNWZAJYWLsiGs+NACSPNF3ROZnnB8SwumttqcHyNx6UDaUtitPoc4t/f08a1Pf6CtW 30P+5g6fTa52W55Gxkab7BqDnohSsODutZXKb+35rQ8MQjnu+rT08ep3PXQTCcgxT7ul eZXuh2gYYMgcihXIGfgEvKzCcoFUfkWwkt0hHIHo4/yaB130Dq2LpHF0/fRJ9w20IdrN UIKg== X-Gm-Message-State: ALoCoQlRGHu+HAdgoyQO9vBujxLdTER8RqtnIpAKNwfm9T3d3hPMLZq5+ZF4JIZS5cS3kX3GH8YY X-Received: by 10.50.50.229 with SMTP id f5mr61115834igo.42.1407353785239; Wed, 06 Aug 2014 12:36:25 -0700 (PDT) MIME-Version: 1.0 Sender: adam@adamharvey.name Received: by 10.43.66.18 with HTTP; Wed, 6 Aug 2014 12:36:05 -0700 (PDT) In-Reply-To: References: Date: Wed, 6 Aug 2014 12:36:05 -0700 X-Google-Sender-Auth: vsu_Aa2Xr6q2R7_4BgSaPtx0yoM Message-ID: To: Ferenc Kovacs Cc: Sara Golemon , PHP internals , standards@lists.php.net Content-Type: text/plain; charset=UTF-8 Subject: Re: [STANDARDS] Re: [PHP-DEV] [RFC] Disallow multiple default blocks in a single switch statement From: aharvey@php.net (Adam Harvey) On 6 August 2014 12:32, Ferenc Kovacs wrote: > On Wed, Aug 6, 2014 at 8:35 PM, Sara Golemon wrote: >> > >> Did we agree on that? The lang spec was originally written to 5.6 to >> have a relatively stable target, but (in my mind at least) was meant >> to track master as we move the language forward. Was there a >> discussion about branching the langspec repo for versions? > > > maybe that was just my impression. > 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. > would be nice checking out how other spec-driven languages manage this > problem (I know that at least java has separate spec for each major > version), but I don't think that a single spec can exists which allows > alternative implementations to say that they comform me spec while the > reference implementation and the spec can still change/evolve after the > initial release. I guess I (possibly) misinterpreted that too, which is why I changed the original bug report to be a spec bug rather than a ZE bug. I too was under the impression that the spec right now would document 5.6 as it actually is (rather than being aspirational), and then future versions would be separate documents (branches, presumably) that would be updated as part of the RFC process when changes were made. Adam, who has just come to the horrible realisation that this is going to require someone to write an RFC. Dibs not me.