Re: [RFC] Lazy Objects
| From: | Tim Düsterhus | Date: | Thu, 25 Jul 2024 15:43:35 +0000 |
| Subject: | Re: [RFC] Lazy Objects | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-124590@lists.php.net to get a copy of this message | ||
Hi
On 7/25/24 17:40, Arnaud Le Blanc wrote:
Thank you! We have updated the RFC accordingly.LGTM :-)
Right, thank you for the clarification. Best regards Tim Düsterhus5. In the explanation of "ReflectionClass::markLazyObjectAsInitialized()", it says:Yes, except for the value of properties that were already initialized.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 callingmarkLazyObjectAsInitialized()on a lazy proxy turns it into a regular object of the proxy class, as ifnewInstanceWithoutConstructor()was used, right?