Hi Tim,
On Thu, Jul 25, 2024 at 4:47 PM Tim Düsterhus <[email protected]> wrote:
> I'm seeing there are some more changes and not just to the cloning
> section. I've went through the entire RFC once again and here are my
> (hopefully final) five remarks. They are only about textual
> clarification of some behaviors, I don't have any further semantic concerns.
Thank you! We have updated the RFC accordingly.
> 5. In the explanation of
> "ReflectionClass::markLazyObjectAsInitialized()", it says:
>
> > Its behavior is the same as described for Ghost Objects in the
> > Initialization Sequence section, except that the initializer is not
> > called.
> >
>
> This means that calling markLazyObjectAsInitialized()
on a lazy proxy
> turns it into a regular object of the proxy class, as if
> newInstanceWithoutConstructor()
was used, right?
Yes, except for the value of properties that were already initialized.
Best Regards,
Arnaud