Am 19.04.2022 um 09:58 schrieb Máté Kocsis:
Hi Everyone,
After quite a long pause, I'd like to revive the discussion of readonly
classes and possibly put it to vote in the coming week(s).
If I'm following, then this RFC is about 90% syntactic sugar for putting
`readonly` on all properties, plus disabling dynamic properties. That's
the long-and-short of it, yes?
Yes, exactly!
Should this rfc (https://wiki.php.net/rfc/deprecate_dynamic_properties)
be considered here?
The attribute #[AllowDynamicProperties] should not be allowed for
readonly classes.
Thomas
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php