ref

Soft and Weak references support in PHP


This extension adds Soft and Weak references support to PHP 7 and may serve as a ground for other data structures that require advanced referencing model.

License: The MIT License (MIT)

Latest releases

Version Release Download
0.6.0 2018-03-08 ref-0.6.0.tgz
0.5.0 2017-08-27 ref-0.5.0.tgz
0.4.4 2017-07-22 ref-0.4.4.tgz
0.4.3 2017-06-30 ref-0.4.3.tgz
0.4.2 2017-03-05 ref-0.4.2.tgz
Show all releases

Changelog

Version Message
0.6.0 Changelist:
- Drop PHP < 7.2 support (BC-breaking);
- Enforce object typehint (BC-breaking);
- Drop windows support (BC-breaking);
0.5.0 This release fix bugs, drop unused feature and soon to be EOL PHP 7.0 (see http://php.net/supported-versions.php for details).

Changelist:
- Drop PHP < 7.1 support (BC-breaking);
- Remove array notifier in a favor of callback (BC-breaking);
- Remove references comparison (BC-breaking);
- Fix bug when object handle reused but previous state was not clean;
- Fix wrong behavior when reference get deleted during notifier call;
- Fix memleaks;
0.4.4 This release improves PHP 7.2 compatibility support

Changelist:
- Restore original referent obj handler when it is no longer tracked
0.4.3 - add PHP 7.2 compatibility support (Remi Collet )
0.4.2 This is a maintenance release which drops PHP < 7.0.3 support.
Show complete changelog