Re: Deprecate alternate switch case syntax?
| From: | Theodore Brown | Date: | Wed, 27 Nov 2024 20:44:14 +0000 |
| Subject: | Re: Deprecate alternate switch case syntax? | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-126072@lists.php.net to get a copy of this message | ||
On Thu, Nov. 21, 2024 at 03:37 Tim Düsterhus wrote:
> Am 2024-11-20 19:45, schrieb Theodore Brown:
>> I don't feel particularly strongly about it, but I am inclined to write an RFC to
>> deprecate it
>
> It doesn't feel big enough to warrant its own RFC,
> but I would be happy to see it as part of
> https://wiki.php.net/rfc/deprecations_php_8_5.
>
> Best regards
> Tim Düsterhus
Hi Tim,
I have now added an item to the general deprecations RFC for PHP 8.5 to deprecate terminating case
statements with a semicolon.
Kind regards,
Theodore Brown