ZendPHP May 2025 Releases
Community Changes
PHP Version 8.4.7 Changes
- 
Core
- Fixed bug GH-18038: Lazy proxy calls magic methods twice.
 - Fixed bug GH-18209: Use-after-free in 
extract()withEXTR_REFS. - Fixed bug GH-18268: Segfault in 
array_walk()on object with added property hooks. - Fixed bug GH-18304: Changing the properties of a 
DateIntervalthrough dynamic properties triggers a SegFault. - Fix some leaks in 
php_scandir. 
 - 
DBA
- Fixed bug GH-18247: 
dba_popen()memory leak on invalid path. 
 - Fixed bug GH-18247: 
 - 
Filter
- Fixed bug GH-18309: ipv6 filter integer overflow.
 
 - 
GD
- Fixed 
imagecrop()overflow withrectargument with x/width y/height usage ingdImageCrop(). - Fixed GH-18243: 
imagettftext()overflow/underflow on font size value. 
 - Fixed 
 - 
Intl
- Fix reference support for 
intltz_get_offset(). 
 - Fix reference support for 
 - 
LDAP
- Fixed bug GH-17776: 
LDAP_OPT_X_TLS_*options can't be overridden. - Fix 
NULLderef on high modification key. 
 - Fixed bug GH-17776: 
 - 
libxml
- Fixed custom external entity loader returning an invalid resource leading to a confusing 
TypeErrormessage. - Fixed bug GH-18289: Fix segfault in JIT.
 - Fixed bug GH-18136: tracing JIT floating point register clobbering on Windows and ARM64.
 
 - Fixed custom external entity loader returning an invalid resource leading to a confusing 
 - 
OpenSSL
- Fix memory leak in 
openssl_sign()when passing invalid algorithm. - Fix potential leaks when writing to BIO fails.
 
 - Fix memory leak in 
 - 
PDO Firebird
- Fixed bug GH-18276: persistent connection - "zend_mm_heap corrupted" with 
setAttribute() - Fixed bug GH-17383: 
PDOExceptionhas wrong code and message since PHP 8.4 
 - Fixed bug GH-18276: persistent connection - "zend_mm_heap corrupted" with 
 - 
PDO Sqlite
- Fix memory leak on error return of collation callback.
 
 - 
PgSql
- Fix uouv in 
pg_put_copy_end(). 
 - Fix uouv in 
 - 
SPL
- Fixed bug GH-18322: 
SplObjectStoragedebug handler mismanages memory. 
 - Fixed bug GH-18322: 
 - 
Standard
- Fixed bug GH-18145: php8ts crashes in 
php_clear_stat_cache(). - Fix resource leak in 
iptcembed()on error. 
 - Fixed bug GH-18145: php8ts crashes in 
 - 
Tests
- Address deprecated PHP 8.4 session options to prevent test failures.
 
 - 
Zip
- Fix uouv when handling empty options in 
ZipArchive::addGlob(). - Fix memory leak when handling a too long path in 
ZipArchive::addGlob(). 
 - Fix uouv when handling empty options in 
 
PHP Version 8.3.21 Changes
- 
Core
- Fixed bug GH-18304: Changing the properties of a 
DateIntervalthrough dynamic properties triggers a SegFault. - Fix some leaks in 
php_scandir. 
 - Fixed bug GH-18304: Changing the properties of a 
 - 
Filter
- Fixed bug GH-18309: ipv6 filter integer overflow.
 
 - 
GD
- Fixed 
imagecrop()overflow withrectargument with x/width y/height usage ingdImageCrop(). - Fixed GH-18243: 
imagettftext()overflow/underflow on font size value. 
 - Fixed 
 - 
Intl
- Fix reference support for 
intltz_get_offset(). 
 - Fix reference support for 
 - 
LDAP
- Fixed bug GH-17776: 
LDAP_OPT_X_TLS_*options can't be overridden. - Fix 
NULLderef on high modification key. 
 - Fixed bug GH-17776: 
 - 
libxml
- Fixed custom external entity loader returning an invalid resource leading to a confusing 
TypeErrormessage. 
 - Fixed custom external entity loader returning an invalid resource leading to a confusing 
 - 
OpenSSL
- Fix memory leak in 
openssl_sign()when passing invalid algorithm. - Fix potential leaks when writing to BIO fails.
 
 - Fix memory leak in 
 - 
PDO Firebird
- Fixed bug GH-18276: persistent connection - "zend_mm_heap corrupted" with 
setAttribute() 
 - Fixed bug GH-18276: persistent connection - "zend_mm_heap corrupted" with 
 - 
SPL
- Fixed bug GH-18322: 
SplObjectStoragedebug handler mismanages memory. 
 - Fixed bug GH-18322: 
 - 
Standard
- Fixed bug GH-18145: php8ts crashes in 
php_clear_stat_cache(). - Fixed bug GH-18209: Use-after-free in 
extract()withEXTR_REFS. - Fixed bug GH-18212: 
fseekwithSEEK_CURwhence value and negative offset leads to negative stream position. - Fix resource leak in 
iptcembed()on error. 
 - Fixed bug GH-18145: php8ts crashes in 
 - 
Zip
- Fix uouv when handling empty options in 
ZipArchive::addGlob(). - Fix memory leak when handling a too long path in 
ZipArchive::addGlob(). 
 - Fix uouv when handling empty options in