Re: [RFC] Disallow multiple default blocks in a single switch statement
| From: | Lester Caine | Date: | Wed, 13 Aug 2014 09:04:19 +0000 |
| Subject: | Re: [RFC] Disallow multiple default blocks in a single switch statement | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-76465@lists.php.net to get a copy of this message | ||
On 13/08/14 09:48, Ferenc Kovacs wrote:
> I wanted to say that
> and I also think that this isn't an important enough issue to warrant a BC
> break in a minor version
Reading between the lines this does seem to be more a problem for HHVM
which has not copied the current operation properly. The question of
multiple case blocks has been flagged, and thinking about it, I quite
often copy, paste and forget to update the label ;) Even the IDE does
not flag that ... it's only when it does not work ...
--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk