Re: [RFC] [Discussion] Readonly Classes
| From: | Thomas Gutbier | Date: | Mon, 25 Apr 2022 14:51:54 +0000 |
| Subject: | Re: [RFC] [Discussion] Readonly Classes | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-117599@lists.php.net to get a copy of this message | ||
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 puttingShould this rfc (https://wiki.php.net/rfc/deprecate_dynamic_properties) be considered here? The attribute #[AllowDynamicProperties] should not be allowed for readonly classes. Thomasreadonlyon all properties, plus disabling dynamic properties. That's the long-and-short of it, yes? Yes, exactly!