Hi Nicolas
>> > https://wiki.php.net/rfc/dynamic_class_constant_fetch
>>
>
> I'm wondering about this:
>
> > This RFC proposes no change in the interaction between class constant
> > fetches and the null-coalescing operator ??. That is, Foo::{$bar} ?? null;
> > will throw an Error if the given
Hi Ilija,
> 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.
> >
> >
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