Re: [PHP-DEV] [RFC][Voting] Fetch properties of enums in const expressions

2022-07-06 Thread Ilija Tovilo
Hi Benjamin > I voted no, because this introduces a special case in const expressions that > is hard to explain and seeing it in the wild will give code readers ideas on > property access in consts that will never be generalizable. > > Imho Const expressions should soley be about declaring

Re: [PHP-DEV] [RFC][Voting] Fetch properties of enums in const expressions

2022-07-06 Thread kontakt
> Am 01.07.2022 um 15:03 schrieb Ilija Tovilo : > > Hi everyone > > I opened voting for the "Fetch properties of enums in const expressions" RFC. > https://wiki.php.net/rfc/fetch_property_in_const_expressions I voted no, because this introduces a special case in const expressions that is

Re: [PHP-DEV] [RFC][Voting] Fetch properties of enums in const expressions

2022-07-06 Thread Michał Marcin Brzuchalski
Hi Ilija, pt., 1 lip 2022 o 15:03 Ilija Tovilo napisał(a): > Hi everyone > > I opened voting for the "Fetch properties of enums in const expressions" > RFC. > https://wiki.php.net/rfc/fetch_property_in_const_expressions I voted NO because the originating problem this RFC tries to solve

[PHP-DEV] [RFC][Voting] Fetch properties of enums in const expressions

2022-07-01 Thread Ilija Tovilo
Hi everyone I opened voting for the "Fetch properties of enums in const expressions" RFC. https://wiki.php.net/rfc/fetch_property_in_const_expressions Voting closes on 2022-07-15. Ilija -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: