Re: Deprecate alternate switch case syntax?
| From: | Kamil Tekiela | Date: | Wed, 20 Nov 2024 15:23:15 +0000 |
| Subject: | Re: Deprecate alternate switch case syntax? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-126001@lists.php.net to get a copy of this message | ||
Hi Theodore,
Do you know why the two exist? Was there any historical reason for this?
From what cmb69 said[1], it seems like it may exist because of the
implicit semicolon in ?>, and after I tested it, it seems to be true.
Was there ever any other reason?
[1]: https://github.com/php/php-src/issues/15258#issuecomment-2271809889