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 state
> 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
ha
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
describ
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: https://www.php.net/unsub.php