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 revisionBoth sides next 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 [2011/07/18 16:28] – Grammar hannes.landeholm
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.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1