Skip to content

Commit 0b0c2ad

Browse files
Release v0.7.2
1 parent b4cb516 commit 0b0c2ad

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,17 @@ All notable changes to this extension will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and 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

php_deepclone.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
extern 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

99
ZEND_BEGIN_MODULE_GLOBALS(deepclone)
1010
HashTable hydrate_cache;

0 commit comments

Comments
 (0)