Re: [PHP-DEV] [RFC] [Discussion] Readonly Classes

2022-04-25 Thread Máté Kocsis
Hi Thomas, The attribute #[AllowDynamicProperties] should not be allowed for > readonly classes. > Nice catch and I do agree with you, so I will add this restriction. Máté

Re: [PHP-DEV] [RFC] [Discussion] Readonly Classes

2022-04-25 Thread Thomas Gutbier
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, plu

Re: [PHP-DEV] [RFC] [Discussion] Readonly Classes

2022-04-19 Thread 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

Re: [PHP-DEV] [RFC] [Discussion] Readonly Classes

2021-11-22 Thread Larry Garfield
On Mon, Nov 22, 2021, at 10:13 AM, Máté Kocsis wrote: > Hi Internals, > > I'd like to propose adding support for readonly classes: > https://wiki.php.net/rfc/readonly_classes > > The implementation heavily builds on the semantics of the already accepted > readonly properties RFC (https://wiki.php.n

Re: [PHP-DEV] [RFC] [Discussion] Readonly Classes

2021-11-22 Thread Michał Marcin Brzuchalski
Hello Máté, pon., 22 lis 2021 o 17:14 Máté Kocsis napisał(a): > Hi Internals, > > I'd like to propose adding support for readonly classes: > https://wiki.php.net/rfc/readonly_classes > > The implementation heavily builds on the semantics of the already accepted > readonly properties RFC (https:/

Re: [PHP-DEV] [RFC] [Discussion] Readonly Classes

2021-11-22 Thread Michał Marcin Brzuchalski
Hi Máté, pon., 22 lis 2021 o 17:14 Máté Kocsis napisał(a): > Hi Internals, > > I'd like to propose adding support for readonly classes: > https://wiki.php.net/rfc/readonly_classes Did you forget to update the status? Cheers, Michał