Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:122622 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 B9C691AD8F6 for ; Tue, 12 Mar 2024 13:15:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1710249340; bh=p3+nRa9B0t+Bt9I6o4qpCju10KE4MYK2fwUXPAjaL5c=; h=In-Reply-To:References:Date:From:To:Subject:From; b=fTONonT3uoZcx4hSqKR7L/lg/VXIBO115irWd06gms6ST3HJNenWBUgmYr1D2ouzU y9SXcvU7Zw0SczyJ2KvaUCcu0jABQKr0JBvUb7nGEmSHhGWAVV1t2ErRCwov2rN6j9 L7VQo4UY7jlUweLHr+yYMNSTl6NzZJ5Hu3ugnPVKbAe8gtJoAafS4dUpLidwOvBLCC VhRRILRafSaulT91J3vcxngQHizycdL9nbTly6Uky3oixISzNrsWCgkrY/Fkkrc/An rRVaBQnExiHFMnt515D66G+SxL17YdJbQ5eswXnXnjdtcnDNiDYWE76GtjwA9STP2C +C5vJpRqZe7lg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 8F746180212 for ; Tue, 12 Mar 2024 13:15:37 +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.1 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_MISSING,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (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 ; Tue, 12 Mar 2024 13:15:30 +0000 (UTC) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id B2EF35C0037 for ; Tue, 12 Mar 2024 09:15:13 -0400 (EDT) Received: from imap50 ([10.202.2.100]) by compute1.internal (MEProxy); Tue, 12 Mar 2024 09:15:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= garfieldtech.com; h=cc:content-type:content-type:date:date:from :from:in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm1; t=1710249313; x= 1710335713; bh=BZwBdAdvgpFB3QykeyapltKH0qjl9Cua/2AVPxY9lJU=; b=k FQ91mJXbI/oeWCitkqg4pftSfo/7aK93W0jNjey4EbXMbV3aBfMdxXZGKYtmfK1I /QXt6mhwQ7Z5FLn+pS4qQoTSEGAhPeRvOmcvpD3k15eL3VokC4EDhL7Zeeniaqq0 /VNARNYMsmQ7CKWgc+DMAn5/Hwi22W5ORC8kD0HMwElducMUft3zgnqKiptT9fx/ dLJ0yta5WhmWIwTNz1DmgkpmJz+hBcYzOkcYOaqnZHTAGzoMNDf9j4KPOQ/3yJE7 dpFmUw7z18Ukw48osPw13c2PMTuc38jyBL+dCG5kKKObcOntwubbPee+Y0D0nP52 rDa7rApcUl8GahofTDgyw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1710249313; x=1710335713; bh=BZwBdAdvgpFB3QykeyapltKH0qjl 9Cua/2AVPxY9lJU=; b=O+ebDyHy5YsTmMzZcjCBDgzpxrBFht7t1q2Nwd5cRZfG G/d5Ne1cHDwAoy9qBE0M0C3CAAFYG2A1F6dxQlK0werAsisMScusjeFwpjhXIKy3 9hKEkEqxGBMTmyi+kXDpa+pQX8RKLNgquLXx4Doge5t7gBPBiDlvk8XWI53RKpaq mWLo/pUvQzX1WKPftob70fFUTtq1/x9pT67dMPkiYJWfOasCTxg4bvrRMIcDw8zL ERoPKuftQNCVcoFbCOz/ZthJpbTBp4NqN3UusOsQBdWlH4fo7NKKZKIVe+eKr2bE LHFHP6yiMO/zJEK/hyVzUxCfRO8iJ57csrQk1EVVMQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrjeefgdeglecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvufgtsehttdertderredtnecuhfhrohhmpedfnfgrrhhr hicuifgrrhhfihgvlhgufdcuoehlrghrrhihsehgrghrfhhivghlughtvggthhdrtghomh eqnecuggftrfgrthhtvghrnhepveehhedvveejledvvefgleevffdtjeekledvkeegheff gfeivdejhffhledtudetnecuffhomhgrihhnpehphhhprdhnvghtnecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheplhgrrhhrhiesghgrrhhfihgv lhguthgvtghhrdgtohhm X-ME-Proxy: Feedback-ID: i8414410d:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 3FECD1700093; Tue, 12 Mar 2024 09:15:13 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.11.0-alpha0-251-g8332da0bf6-fm-20240305.001-g8332da0b Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 Message-ID: In-Reply-To: <87171309-BD28-4292-A502-93DC720F445C@koalephant.com> References: <87171309-BD28-4292-A502-93DC720F445C@koalephant.com> Date: Tue, 12 Mar 2024 13:14:25 +0000 To: "php internals" Subject: Re: [PHP-DEV] [RFC[ Property accessor hooks, take 2 Content-Type: text/plain From: larry@garfieldtech.com ("Larry Garfield") On Tue, Mar 12, 2024, at 8:49 AM, Stephen Reay wrote: > Hi Larry > > Thanks again for both of your work on this, I'm really hopeful this passes. > > Was there ever any further discussion/resolution/decision about the use > an explicit `virtual` keyword, and the related flag for creation of a > backing store? I thought it was discussed by several people but I don't > recall seeing any eventual consensus, and it looks to my eye that it > hasn't changed from the original proposal: i.e. it's 'magic' and > `$this->{__PROPERTY__}` won't work? > > Is that correct? We looked into `virtual`, and considered it, but determined that it wouldn't actually work because of inheritance. Details are in a new FAQ entry: https://wiki.php.net/rfc/property-hooks#why_no_explicit_virtual_flag --Larry Garfield