[php-src] Issue #11470: Allow enum cases starting with integers
| From: | binaryfire | Date: | Sat, 17 Jun 2023 19:48:33 +0000 |
| Subject: | [php-src] Issue #11470: Allow enum cases starting with integers | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-244729@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/11470
Author: binaryfire
### Description
Hi all
Is there a technical reason why enum cases beginning with integers are not allowed? There are many
situations where this would be useful. Sizes, for example:
```
S
MD
LG
XL
2XL
3XL
```