Hi Nikita, Le ven. 4 juin 2021 à 17:19, Nikita Popov <nikita....@gmail.com> a écrit :
> Hi internals, > > I'd like to open the discussion on readonly properties: > https://wiki.php.net/rfc/readonly_properties_v2 > Thanks for the proposal, that's quite appealing! I voted "no" on the previous proposal because it didn't play well with cloning. That's why I favoured asymmetric visibility. I see that this new iteration has the same issue, so I'd like to know: What about putting readonly properties in the uninitialized state when cloning objects? Cheers, Nicolas