Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:105778 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 58347 invoked from network); 23 May 2019 11:20:31 -0000 Received: from unknown (HELO mout.gmx.net) (212.227.17.22) by pb1.pair.com with SMTP; 23 May 2019 11:20:31 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1558600101; bh=cdQTeVw35JQhIIbJF1Heu2V4zGtIN1TtYVq/M5BBA6w=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=AHHh4Sicj9u3+A1rjT95KN97ZBSIkLAA8HfXrhgelSrag1hMNW3zMDFe/MmYvJi+2 ge1r2ZNBDwr7Iy5f2ObF1ZOv3k/ybpBXd5a7rk3CfDRxVE+nTLwOujyuzPnXPRgat1 m/OyoMvny8RSDcHjxhFGV0zCXQ+Fl75WHe0OMsWw= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.2.144] ([79.222.32.89]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LmJsk-1gu7Lr2cfC-00ZxsK; Thu, 23 May 2019 10:28:21 +0200 To: Joe Watkins , PHP internals References: Message-ID: <02b78e6e-fa7f-8658-9883-1dee8368ba5a@gmx.de> Date: Thu, 23 May 2019 10:28:22 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:a50YXpFVD33Zw2fihrVdyPZBtfEo7/hYR9hckc/L4l89PKhOmhW 2GdWCs95BrJE9ovjEREc7HSqPVHZjsqnwoALsxQzrTYwL8PHzZnE5ghd3IodGzxBOixgYGi fpWye3BPL42KmrkC9d/fdnJt4VYe2Af7haJm/hj24MqkMMpOY/wb182lpgZo1mWRC1cUIOE /q5e2N7E5nDn6onG1bNVg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:Xez5uXD7i4c=:YtqZYQfEafMixtPcpXLuq/ cHDHHZ2ndnjRU/vQedby+5zbTEIFmzQpts5x7k/meU9pzQiSR90QxNcqNNsTxxveF7b3+rI7w 7n88htfo3A/wG4O19V68APWytbp+iVLMJuJnx8MhodqCpFzy8qLbzVDe3UEXW2PnXNngi+NCK RTEkNIWLnl+OZskfgSTWEL0GXEsTzlKTycU/82WZDX3C5XnCXQxfDlfyefZnf3pEM6VK1BasB rmdTgkeGTxnx+Uqd5poSfE4sszTVc4tiHQq208Zw/MksGW3tF49vIXonjYiuitd1NqU9cL28U cAPs86Bz7j2cBlgkWZHWSznWfe0raofVmVKulyPPmleecZaJHj2q1fUnUlWTEuyQCrvqauisC KH1RShP60c7zA/HYVWEfURJfXDztt9r883l85ieB8ufwwkOi53w9uztNdGK609NZHgpE62ppP E6HfGWC91ZiQQIM1z6Oqonv9FEGLEK1bsLZrWhvWWnAqHWye5UK953ovrc3EbdMO5kt+w3qSA WvyseVQphlEb8B3q9Q0ywR0r14Cfb66efWAbqe1hYwaVvWiS8nJvyWPCbVLWLcT5hPWi5E0At yWx0WAU7N2vgar7ywOC4z2qt+GjBLud9b44mJMU8GpvKIXp9oUYZhDREXNlOwSEYF4qvFt951 KtN/Fnht8ZRjaSQCeG9vFXb19nmEOKU/VUdsqMwoM1RABdQAbfGCFeYyXlnpZYwZU8MtcUaMJ MemoIA2bFGNtDRUj52FMCBH6NbysFdBHctgC1N5qes04CoyCwoQP5O269Co9ySJ8zrPVe+duI AnN537aALdWdk19zbWYZo6eFtNed1/iOH0GJQZUGDf9CCBe/xIq6UCYaMJsCOxko1/UtysjVt 06vFR3Y5d5/vPRNffF2BFXBkUjscWMBIVG7Cp8sKiGTp6kJ5QxsVDUfeyIVqeeBBz8iNfzlo4 0uf6ng3sOAsCV7YK1EbHkjK4afBz+f9c1KL+oPy4ILFX/aFrjeXK/ Subject: Re: [RFC][Accepted] weakrefs From: cmbecker69@gmx.de ("Christoph M. Becker") On 08.03.2019 at 07:34, Joe Watkins wrote: > The vote for weakrefs is closed and has been accepted. > > Because of feedback received very late during voting from non-voting > contributors/community members, the implementation will be slightly > different to that in the RFC - it was pointed out that it's more useful = if > there is only one weakref for every object, and it happens to simplify t= he > internal implementation also. The only difference is the __construct wil= l > be replaced with a named constructor so that we may achieve this: It wil= l > still have the same interface as accepted, but with a different name for > constructor and simpler implementation. I just noticed that the constructor is still public[1]; shouldn't it be private instead? [1] =2D- Christoph M. Becker