Re: [RFC] Deprecate and remove continue targeting switch
| From: | Stanislav Malyshev | Date: | Wed, 27 Jun 2018 21:07:54 +0000 |
| Subject: | Re: [RFC] Deprecate and remove continue targeting switch | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-102505@lists.php.net to get a copy of this message | ||
Hi!
> In the proposal, the code is valid in all versions of PHP up to and
> including 7.3, *and represents the same algorithm in all versions*. The
> only difference would be the side-effect of issuing an additional
> deprecation notice; that's not "a different meaning". In PHP 8, under
> Nikita's proposal, the code would not be valid at all.
I agree with PHP 7 part but not with PHP 8 part. I think we should just
leave the warning there.
--
Stas Malyshev
smalyshev@gmail.com