Weakref

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

This package is not maintained anymore and has been superseded by . Package has moved to channel https://www.php.net/weakreference

Latest releases

Version Release Download
0.3.3 2016-12-13 Weakref-0.3.3.tgz
0.3.2 2016-01-24 Weakref-0.3.2.tgz
0.3.1 2016-01-11 Weakref-0.3.1.tgz
0.3.0 2016-01-11 Weakref-0.3.0.tgz
0.2.6 2014-11-13 Weakref-0.2.6.tgz
Show all releases

Changelog

Version Message
0.3.3 - Restore dtors to prevent crash in multi-requests scenario
0.3.2 - Fix crash in wr_store_tracked_object_dtor
0.3.1 - Fix a bug where acquired ref would be dtored before the wref during shutdown (#69131)
0.3.0 - Support PHP7 (Big thanks to Julien Pauli for helping with the upgrade) (issue #19)
- Add support for cloning WeakMap
- Iterating WeakMap now yields objects as keys (issue #17)
0.2.6 - Remove maximum PHP version
Show complete changelog