Re: [PHP-DEV] [VOTE] Readonly properties

This is only part of a thread. view whole thread
July 1, 2021 10:38 (Hamza Ahmad)
Hi Nikita,

It is going to be the second contribution from you regarding OOP.
However, this proposal, as you have mentioned, has some issues with
cloning. What if you would have opened voting after fixing this?

Or, your mood is to get it passed and then fix it before final release of 8.1?

Thank you

Hamza Ahmad

On 7/1/21, Nikita Popov> wrote:
> Hi internals, > > I have opened voting on > The vote closes 2021-07-15. > > See for the discussion thread on this > proposal. I think a decent tl;dr is that readonly properties as proposed do > not play well with clone-based withers, so some people believe we should > either improve cloning first, or introduce asymmetric property visibility > instead, which does not suffer from this issue. > > Regards, > Nikita >