[PHP-DEV] [RFC][Discussion] Arbitrary static variable initializers

2022-11-06 Thread Ilija Tovilo
Hi everyone I'd like to propose my next RFC. It lifts the restriction of only using constant expressions in static variable initializers. Let me know if you have any thoughts or concerns. https://wiki.php.net/rfc/arbitrary_static_variable_initializers Ilija -- PHP Internals - PHP Runtime Devel

Re: [PHP-DEV] [RFC][Dynamic class constant fetch]

2022-11-06 Thread Nikita Popov
On Fri, Nov 4, 2022 at 3:26 PM Ilija Tovilo 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. > > h