rfc:weakrefs

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
rfc:weakrefs [2019/03/08 06:22] krakjoerfc:weakrefs [2019/03/13 09:31] (current) krakjoe
Line 3: Line 3:
   * Date: 2018-05-17   * Date: 2018-05-17
   * Author: krakjoe   * Author: krakjoe
-  * Status: Accepted+  * 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 44: Line 44:
   * does not support serialization   * does not support serialization
   * does not support properties   * does not support properties
-  * supports cloning 
  
 ===== Backward Incompatible Changes ===== ===== Backward Incompatible Changes =====
rfc/weakrefs.1552026149.txt.gz · Last modified: 2019/03/08 06:22 by krakjoe