Re: Adding explicit intent for SWITCH/CASE fall through?

From: Date: Fri, 18 Oct 2019 18:57:50 +0000
Subject: Re: Adding explicit intent for SWITCH/CASE fall through?
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-107576@lists.php.net to get a copy of this message
> On Oct 18, 2019, at 4:45 AM, Markus Fischer <markus@fischer.name> wrote: > > On 18.10.19 00:07, Mike Schinkel wrote: >> case 'educationtype': >> $update = false; >> fallthrough; > > I was about to suggest continue, alas we know that would clash > :-) > > Suggestion: next; instead? I am agnostic about which word is used, so I would open up for suggestions if others think there is a better word than fallthrough. As far as I care, it could be any of the following[1] as long as the functionality was the same (this is me being a little tongue-in-cheek here): - proceed - carry_on - persevere - keep_going - go_ahead - advance - go_forward - keep_on - furthermore -Mike P.S. Props to powerthesaurus.com! [1] https://www.powerthesaurus.org/continue/synonyms <https://www.powerthesaurus.org/continue/synonyms>

« previous php.internals (#107576) next »