File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,6 +5,17 @@ All notable changes to this extension will be documented in this file.
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.1.0/ ) ,
66and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
77
8+ ## [ 0.7.2] - 2026-06-10
9+
10+ ### Fixed
11+
12+ - ` deepclone_to_array() ` now resolves the ` IS_INDIRECT ` slots that internal
13+ classes may leave in the state returned by ` __serialize() ` (e.g.
14+ ` Random\Randomizer ` before PHP 8.3, whose raw property table points into
15+ the object). The payload previously retained those pointers, and using it
16+ after the source object was released crashed ` deepclone_from_array() ` on
17+ PHP 8.2.
18+
819## [ 0.7.1] - 2026-06-10
920
1021### Added
Original file line number Diff line number Diff line change 44extern zend_module_entry deepclone_module_entry ;
55#define phpext_deepclone_ptr &deepclone_module_entry
66
7- #define PHP_DEEPCLONE_VERSION "0.7.1 "
7+ #define PHP_DEEPCLONE_VERSION "0.7.2 "
88
99ZEND_BEGIN_MODULE_GLOBALS (deepclone )
1010 HashTable hydrate_cache ;
You can’t perform that action at this time.
0 commit comments