WeakRef

The WeakRef<T> class

net/manual/en/class.weakref.php )

The WeakRef class provides a gateway to objects without preventing the garbage collector from freeing those objects. It also provides a way to turn a weak reference into a strong one.

Interface synopsis

class WeakRef  {...}