Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:123604 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id AF3E21A009C for ; Fri, 14 Jun 2024 15:57:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1718380707; bh=ruWYRwVIFTqmv+PUjBR2hFXKXLteY+iDAjpaYJfDiQI=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=bgnlPI+26OX/iUwY7Efw/BCQyxNN8CLxQqdpY5ZOYD01zFYlsGS0qiV2iQ84JD9VU THuipKUC2eA4A/+ZLzQ6++YFIyTejz9DeThTNdjizky5pGvRIEXe526CGsbPPV6Gh0 bF6AkePps9oi/KEvVfWEtTAjefo0BxIKuGw4SNzIyAPnL0e6naN+mZSl5IasG/j7lS cCBht7xo+/DC4taZDB3nbrDdPMrPSyN/q2MHfaJD86tPW7FFxioR/+KEKbJZ2rRfm/ HDBixS/ZKUAx5bxQhVOsN2BbEuK9S7hVRqSGxxf5287SqldiT1cECEWTkKm5VMsiOa elgDZXUmO0ddA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 7B96C180638 for ; Fri, 14 Jun 2024 15:58:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: Received: from chrono.xqk7.com (chrono.xqk7.com [176.9.45.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Fri, 14 Jun 2024 15:58:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bastelstu.be; s=mail20171119; t=1718380634; bh=jlLDT9Oc5m9IhB/BZlzWa2E6JuvGzsGz0SYdM1F71sU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type:from:to:cc:subject:message-id; b=K7xR/pIuNM08YTIJcPrAPe3HX9W1mJrqDf3TVfNefI5FIuQ+zyX5eQPD5nz+xJwUB JWwMdB46NXerIyNFmOGkdPoCKw/f6ytgTpBKloWm+7cYftWtnqgLPNzZbWtJrxSUJQ 0B7dLAFP01/9WGSqJAgAKxpsEDpb/4fXPFaXv2PoOdG16nOKF4ATpIzCCieYjXkcmI i0flZqAM+9i0ko37YjY1cuvEmQz+lO6FfAz1NSaC9h7POOShoNYnY9luJRmA2otvMa 6Krj33boMULZhTPcp4EFo3JmkwoDzenFNFX1EHngk+YkwZl/Wh76eOlzRqeOpKiuJt EArsclxDgtCHg== Message-ID: <6ca039db-9774-4a7e-97ba-b82cc3f6609f@bastelstu.be> Date: Fri, 14 Jun 2024 17:57:11 +0200 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 Subject: Re: [PHP-DEV] [RFC] Lazy Objects To: Arnaud Le Blanc Cc: Nicolas Grekas , PHP Internals List References: <1118bbcd-a7b4-47bf-bf35-1a36ab4628e1@bastelstu.be> Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit From: tim@bastelstu.be (=?UTF-8?Q?Tim_D=C3=BCsterhus?=) Hi On 6/14/24 14:13, Arnaud Le Blanc wrote: > We have updated the RFC to address your feedback. Please find > additional answers below. for some preliminary feedback: I've given the RFC another quick read and it already reads *much* better, thank you. The two examples for the two strategies were pretty illustrative. - I noticed a small typo "makeInstanceLazyHost". - The ORM example uses 'setPropertyValue', I believe it should read 'setRawPropertyValue'. - The LazyConnection example uses 'ReflectionLazyObject', should that read 'ReflectionLazyObjectFactory'? I plan to give more detailed feedback at a later point, when i have the time to think through your reply and the semantics updated RFC. Best regards Tim Düsterhus PS: Thanks, I hate the example of how readonly properties can already change in existing versions :-(