Skip to content

Commit 6877ae6

Browse files
committed
[ci skip] UPGRADING
1 parent d9e7129 commit 6877ae6

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎UPGRADING.INTERNALS‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ PHP 8.7 INTERNALS UPGRADE NOTES
4747
- The INIT_CLASS_ENTRY_INIT_METHODS() macro, which was previously used as
4848
part of handling disabled classes, was removed following the removal of
4949
the `disable_classes` INI setting in PHP 8.5.
50+
- Using zend_array_destroy() on HashTables with a custom pDestructor is not
51+
allowed anymore. User-facing HashTables must have pDestructor = ZVAL_PTR_DTOR
52+
or NULL, and must be freed with zend_array_destroy(). Other HashTables can be
53+
freed with zend_hash_destroy() + pefree().
5054

5155
========================
5256
2. Build system changes

0 commit comments

Comments
 (0)