rfc:weakreferences

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:weakreferences [2011/07/18 15:49] – 1.1: Added multiple use cases, argumentation, additional section about cleanup, references and external links. hannes.landeholmrfc:weakreferences [2017/09/22 13:28] (current) – external edit 127.0.0.1
Line 3: Line 3:
   * Date: 2011-07-15   * Date: 2011-07-15
   * Author: Etienne Kneuss <colder@php.net>, Hannes Landeholm <landeholm@gmail.com>   * Author: Etienne Kneuss <colder@php.net>, Hannes Landeholm <landeholm@gmail.com>
-  * Status: In discussion+  * Status: In voting phase, [[https://wiki.php.net/rfc/weakreferences/vote|Voting page]]
  
 ===== Introduction ===== ===== Introduction =====
Line 53: Line 53:
 ===== Proposal and Patch ===== ===== Proposal and Patch =====
  
-This RFC suggests adding a class called "SplWeakRef" to the standard PHP library which implements weak references. This class would have a signature similar to the class "java.lang.ref.WeakReference" in Java[3], but would even more simple initially. It would implements some magic to allow GC collection. SplWeakRef would have the following prototype:+This RFC suggests adding a class called "SplWeakRef" to the standard PHP library which implements weak references. This class would have a signature similar to the class "java.lang.ref.WeakReference" in Java[3], but would even more simple initially. It would implement some magic to allow GC collection. SplWeakRef would have the following prototype:
  
   void   SplWeakRef::__construct(object ref)   void   SplWeakRef::__construct(object ref)
rfc/weakreferences.1311004154.txt.gz · Last modified: 2017/09/22 13:28 (external edit)