[php-src] Issue #8305: Class String Const cannot be set as Backed Enum Case
| From: | bwoebi | Date: | Tue, 05 Apr 2022 17:30:57 +0000 |
| Subject: | [php-src] Issue #8305: Class String Const cannot be set as Backed Enum Case | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-240675@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8305
Comment Author: bwoebi
This is not a bug, but intentionally left out (for implementation reasons) in the RFC: https://wiki.php.net/rfc/enumerations#constant-reference_expression_values
If you have a good implementation, feel free to create a PR. For now I'm going to close this
issue.