On Wed, Jun 27, 2018 at 11:46 AM niel <spam-f...@blueyonder.co.uk> wrote:

> On 24/06/18 17:16, Nikita Popov wrote:
> > Hi internals,
> >
> > Another small deprecation for your consideration...
> >
> > https://wiki.php.net/rfc/continue_on_switch_deprecation
> >
> > Regards,
> > Nikita
> >
>
> Could you clarify the PHP 8 changes:
>
> "PHP 8 generates a compile error."
>
> Does this mean *any* use of continue in a switch is a compile error, or
> only continue without a number
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> Something like this could make upgrading PHP against a large legacy code
base near impossible.

If this was the ONLY thing that a developer in another language would have
to grapple with in order to switch the PHP, it might be different. But, I
would advise against potentially breaking a lot of code for something that
provides no functional advantage, and, at best, might provide a slight
syntactical improvement (and, I'm not convinced it even does that).
-- 
-- Chase
chasepee...@gmail.com

Reply via email to