Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:123562 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 D4EE31A009C for ; Sat, 8 Jun 2024 23:24:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1717889149; bh=uViKDN4wfYsG0NRtbQPEDbX4J+tXA6qs0ZnUj6BOT9g=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=m4Sknlr4No1/KTMn1oqzUMsDVW31tE60lumtuRMiUFmHDlFkNku5r6NqK5s8e2wEO 8Ab9hIjtIu3Pg5YKQ8pPRTfIwdEZA58/B/FK81TJ+7O4tRD5ce2xwq57oCHlmqICZ5 2NNl3XY+6/zYjHUvFgPZ9DuYaZJHkrXWPcSEM6mfwHBYJJ1D/XN3csJmV+vlvg7pWy hgOAydMLX1vXd+aYS8vBp2miSek7k65aPW0Z2WU83sg8mQ9VomQIRruNRmDOHBW3xZ +OkPsF3sJVaBakJqSGvpx9HlkPUbpUTJ+0dEUG4MB0ybK7dT1SMqkh45xKniv/OPSz 3eQWYnSUWQFjQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 5CF4A18005F for ; Sat, 8 Jun 2024 23:25:48 +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=1.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, 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 mail-qv1-f44.google.com (mail-qv1-f44.google.com [209.85.219.44]) (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 ; Sat, 8 Jun 2024 23:25:44 +0000 (UTC) Received: by mail-qv1-f44.google.com with SMTP id 6a1803df08f44-6af6c2bee7bso27839186d6.1 for ; Sat, 08 Jun 2024 16:24:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717889077; x=1718493877; darn=lists.php.net; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=uViKDN4wfYsG0NRtbQPEDbX4J+tXA6qs0ZnUj6BOT9g=; b=UQvPA8sbVPtXRMc4UrevJPgYeg2tmcbdbsb5Pr0Cmmmz80nuVwR3atD0xJyhv3WyZb mbQk6HxThyXymCaNSgi5j3bGRPEYvckkpPOywrr6u9KeRnRkmA7trmpxya+26vXTEvB3 rVEywl873awQyP3KBN+fBbWI5sJNde2pyiFFrDtAdZ8wz2rzmZR0gWcVsJH3ru8fLT2H F3BfPGXzMxKmnyOV1EKnbwDjbPaL7hedHglBUsaE5rTC0FirpbKB8aPUo3trM9GinI5M vHsabn13AQDU39+VeO4oh8PwuX5yFeu94m4IaBeM+jhFRhJAsv6E+xQlSK7L2f5bGE/J cJKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717889077; x=1718493877; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=uViKDN4wfYsG0NRtbQPEDbX4J+tXA6qs0ZnUj6BOT9g=; b=AV0qGpXDQk7qCoIdPLJOb4ZKfRtk19+m85mYGQ2B9q8TNbLhejkLJypEusxVBcb/KA W8Nei16lV8ledRNmCb0+cHG87HzTFjPZNZqeJEMJNEz/8/UDlDMXlEnC8sW0USBhjEAv XGPQMCTRFAowfj92u+iip//mVf9VeV6+GwpTLG74axIiQvPg6aTSCDpeZvySP8cFsBJR ybcftFXUgnLHwiLQboJexK/Q0qjrFRk+KHQ92bHwDtWB0cTQ+yYXU4WdTmJa2552MlHJ 2uP15Vu4ABj/Z5zgdWO/lZrl65FaMmmNtfN995G/0KU6/nZXIeIirgk+nJbOG1W5HIFq c24A== X-Gm-Message-State: AOJu0Yy029z9n8gLH80cgrJTvdICGxaEE+4s2Bdt/wEbYsbLLH4987sj t+hL6Ogq2DhhCy2Y81h2XS7ZG/2IY6SNsdpNb4iAGKUw8TiAcD0eaIYp0hhiuYqEw8wtcfg7ygv StaaSdlAUUDiYjDNfzfe3cijZGxJXsw== X-Google-Smtp-Source: AGHT+IGGCgcnfZMlH1a1kua45851O5kSCZg8i7uVlhDK4T+Jsq917AhDYfJOOYPAAXYFf2WAJOnuKPy63IS+VwOWQ58= X-Received: by 2002:a05:6214:3d8d:b0:6b0:7769:9747 with SMTP id 6a1803df08f44-6b07769a373mr4165516d6.3.1717889077502; Sat, 08 Jun 2024 16:24:37 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 References: In-Reply-To: Date: Sun, 9 Jun 2024 00:24:26 +0100 Message-ID: Subject: Re: [PHP-DEV] [RFC] Lazy Objects To: Nicolas Grekas Cc: PHP Internals List , Arnaud Le Blanc Content-Type: multipart/alternative; boundary="0000000000003a6cea061a693866" From: t.carnage@gmail.com (Chris Riley) --0000000000003a6cea061a693866 Content-Type: text/plain; charset="UTF-8" On Tue, 4 Jun 2024 at 13:29, Nicolas Grekas wrote: > Dear all, > > Arnaud and I are pleased to share with you the RFC we've been shaping for > over a year to add native support for lazy objects to PHP. > > Please find all the details here: > https://wiki.php.net/rfc/lazy-objects > > We look forward to your thoughts and feedback. > > Cheers, > Nicolas and Arnaud > I'm wondering why this has been attached to the existing reflection API instead of being a new thing in and of itself? It doesn't seem strictly related to reflection other than currently the solutions for this rely on reflection to work. ~C --0000000000003a6cea061a693866 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Tue, 4 Jun 2024 at 13:29, Nicolas = Grekas <nicolas.grekas= +php@gmail.com> wrote:

Dear all,

Arnaud a= nd I are pleased to share with you the RFC we've been shaping for over a year to add native support= =20 for lazy objects to PHP.

Please find all the details here:
https://wiki.php.net/rfc/lazy-objects

We look forward to yo= ur thoughts and feedback.

Cheers,
Nicolas and Arnaud


I'm wondering why this has been atta= ched to the existing reflection API instead of being a new thing in and of = itself? It doesn't seem strictly related to reflection other than curre= ntly the solutions for this rely on reflection to work.

~C
--0000000000003a6cea061a693866--