[RFC][Dynamic class constant fetch]
| From: | Ilija Tovilo | Date: | Fri, 04 Nov 2022 14:25:54 +0000 |
| Subject: | [RFC][Dynamic class constant fetch] | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-118960@lists.php.net to get a copy of this message | ||
Hi everyone
I'd like to propose a simple RFC to introduce looking up class
constants by name. We have dedicated syntax for basically all other
language constructs. This RFC aims to get rid of this seemingly
arbitrary limitation.
https://wiki.php.net/rfc/dynamic_class_constant_fetch
Please let me know if you have any thoughts.
Ilija