> Am 01.07.2022 um 15:03 schrieb Ilija Tovilo <tovilo.il...@gmail.com>:
>
> 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
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 state not traversing it.
>
> Voting closes on 2022-07-15.
>
> Ilija
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: https://www.php.net/unsub.php
>
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php