Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:104617 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 52829 invoked from network); 8 Mar 2019 09:45:24 -0000 Received: from unknown (HELO mail-ed1-f41.google.com) (209.85.208.41) by pb1.pair.com with SMTP; 8 Mar 2019 09:45:24 -0000 Received: by mail-ed1-f41.google.com with SMTP id m35so15491557ede.10 for ; Thu, 07 Mar 2019 22:34:13 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=vMao3Kfpm/61CafKZINWU7zGVz0nLx9mceJ5gfB4f7E=; b=DMnBI2DIu3Hj2ODeKj0LBT/I1KgJu77fikZCYEwzFjOyuY6R9jzSO2f7Xt1DtHxTGI mt/GYoo3M+xJ/eVzWt5B7C5uObZxwtR2CxxJO9RUJvw0thoY9N8PC3U03esGG7+BM1zD PXBTnI4JlAL+SIFnLgBjT7vLNa9I6gYFJkBIk6/cbSl1CsgtQw+sU7ls+giBT2PDZFvD wM+m09jycGny+PnVzSEZjhxyVIMrHbCdUv1l1m5Ix3IQ8bzI2KgQ1WyQWSOguatQtQif KpriimhPX72Tup91ZSmfUTPiAQfbMqjwWXZUTmrVy9TVoPJbLJZEdaVuR7t9J9T/IUC4 +7HQ== X-Gm-Message-State: APjAAAX23Rm0FOeeky9aHfs3GuY9ZRr6H7dYJVRWa9gCPrpm6EIbRBgT xhoeIC4u/6HsnaRo+5rBuOaNyoLdme8= X-Google-Smtp-Source: APXvYqzUtjey8l3ZucNZ6qJShih1jdSWgZd0wQiICW6IeRCJsZtiioEM/9hpT83Wo6X+q3v6s8u50w== X-Received: by 2002:a17:906:1653:: with SMTP id n19mr10809322ejd.14.1552026853061; Thu, 07 Mar 2019 22:34:13 -0800 (PST) Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com. [209.85.221.49]) by smtp.gmail.com with ESMTPSA id v43sm1987707edc.43.2019.03.07.22.34.12 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Mar 2019 22:34:12 -0800 (PST) Received: by mail-wr1-f49.google.com with SMTP id t18so20105045wrx.2 for ; Thu, 07 Mar 2019 22:34:12 -0800 (PST) X-Received: by 2002:a05:6000:6:: with SMTP id h6mr9294532wrx.134.1552026852302; Thu, 07 Mar 2019 22:34:12 -0800 (PST) MIME-Version: 1.0 Date: Fri, 8 Mar 2019 07:34:01 +0100 X-Gmail-Original-Message-ID: Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary="00000000000036a58505838f698c" Subject: [RFC][Accepted] weakrefs From: krakjoe@php.net (Joe Watkins) --00000000000036a58505838f698c Content-Type: text/plain; charset="UTF-8" Morning internals, 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 the internal implementation also. The only difference is the __construct will be replaced with a named constructor so that we may achieve this: It will still have the same interface as accepted, but with a different name for constructor and simpler implementation. Cheers Joe --00000000000036a58505838f698c--