Heyo,

On Fri, 4 Nov 2022 at 15:26, Ilija Tovilo <tovilo.il...@gmail.com> wrote:

> 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.
>

What's the problem with using `constant()` for this?

Marco Pivetta

https://twitter.com/Ocramius

https://ocramius.github.io/

Reply via email to