Re: [RFC] [Discussion] Readonly class amendments
| From: | Alexandru Pătrănescu | Date: | Tue, 15 Nov 2022 13:26:48 +0000 |
| Subject: | Re: [RFC] [Discussion] Readonly class amendments | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-119013@lists.php.net to get a copy of this message | ||
Hi Mate,
On Tue, Nov 15, 2022 at 8:30 AM Máté Kocsis <kocsismate90@gmail.com> wrote:
> Hi Everyone,
>
> Following Nicolas' thread about "Issues with readonly classes" (
> https://externals.io/message/118554), we created an RFC to fix
> two issues
> with the readonly behavior:
> https://wiki.php.net/rfc/readonly_amendments
>
> Please let us know your thoughts!
>
For proposal 2 part: "Readonly properties can be reinitialized during
cloning"
From the details there I understand it would affect properties in a
readonly class as well as explicit readonly properties in non-readonly
class.
Is that the intent? If yes, maybe we can share an example without a
readonly class as well.
Regards,
Alex