Implementation of weak references
A weak reference provides a gateway to an object without preventing that object from being collected by the garbage collector (GC).
License: PHP