rfc:weakrefs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
rfc:weakrefs [2019/02/04 08:43]
krakjoe
rfc:weakrefs [2019/03/11 23:39]
krakjoe
Line 3: Line 3:
   * Date: 2018-05-17   * Date: 2018-05-17
   * Author: krakjoe   * Author: krakjoe
-  * Status: Discussion+  * Status: Implemented
   * First Published at: http://wiki.php.net/rfc/weakrefs   * First Published at: http://wiki.php.net/rfc/weakrefs
  
Line 23: Line 23:
 <code php> <code php>
 final class WeakReference { final class WeakReference {
-    public function __construct(object $object);+    public static function create(object $object) : WeakReference;
          
     public function get() : ?object;     public function get() : ?object;
Line 76: Line 76:
 ===== Proposed Voting Choices ===== ===== Proposed Voting Choices =====
 Simple Yes/No, requires super majority. Simple Yes/No, requires super majority.
 +
 +<doodle title="Implement weakrefs ?" auth="krakjoe" voteType="single" closed="true">
 +   * Yes
 +   * No
 +</doodle>
 +
 +Voting started 2019-02-22, ends 2019-03-08.
  
 ===== Patches and Tests ===== ===== Patches and Tests =====
rfc/weakrefs.txt · Last modified: 2019/03/13 09:31 by krakjoe