May 2025Community ChangesPHP Version 8.4.7 ChangesCoreFixed bug GH-18038: Lazy proxy calls magic methods twice.Fixed bug GH-18209: Use-after-free in extract() with EXTR_REFS.Fixed bug GH-18268: Segfault in array_walk() on object with added property hooks.Fixed bug GH-18304: Changing the properties of a DateInterval through dynamic properties triggers a SegFault.Fix some leaks in php_scandir.DBAFixed bug GH-18247: dba_popen() memory leak on invalid path.FilterFixed bug GH-18309: ipv6 filter integer overflow.GDFixed imagecrop() overflow with rect argument with x/width y/height usage in gdImageCrop().Fixed GH-18243: imagettftext() overflow/underflow on font size value.IntlFix reference support for intltz_get_offset().LDAPFixed bug GH-17776: LDAP_OPT_X_TLS_* options can't be overridden.Fix NULL deref on high modification key.libxmlFixed custom external entity loader returning an invalid resource leading to a confusing TypeError message.Fixed bug GH-18289: Fix segfault in JIT.Fixed bug GH-18136: tracing JIT floating point register clobbering on Windows and ARM64.OpenSSLFix memory leak in openssl_sign() when passing invalid algorithm.Fix potential leaks when writing to BIO fails.PDO FirebirdFixed bug GH-18276: persistent connection - "zend_mm_heap corrupted" with setAttribute()Fixed bug GH-17383: PDOException has wrong code and message since PHP 8.4PDO SqliteFix memory leak on error return of collation callback.PgSqlFix uouv in pg_put_copy_end().SPLFixed bug GH-18322: SplObjectStorage debug handler mismanages memory.StandardFixed bug GH-18145: php8ts crashes in php_clear_stat_cache().Fix resource leak in iptcembed() on error.TestsAddress deprecated PHP 8.4 session options to prevent test failures.ZipFix uouv when handling empty options in ZipArchive::addGlob().Fix memory leak when handling a too long path in ZipArchive::addGlob().PHP Version 8.3.21 ChangesCoreFixed bug GH-18304: Changing the properties of a DateInterval through dynamic properties triggers a SegFault.Fix some leaks in php_scandir.FilterFixed bug GH-18309: ipv6 filter integer overflow.GDFixed imagecrop() overflow with rect argument with x/width y/height usage in gdImageCrop().Fixed GH-18243: imagettftext() overflow/underflow on font size value.IntlFix reference support for intltz_get_offset().LDAPFixed bug GH-17776: LDAP_OPT_X_TLS_* options can't be overridden.Fix NULL deref on high modification key.libxmlFixed custom external entity loader returning an invalid resource leading to a confusing TypeError message.OpenSSLFix memory leak in openssl_sign() when passing invalid algorithm.Fix potential leaks when writing to BIO fails.PDO FirebirdFixed bug GH-18276: persistent connection - "zend_mm_heap corrupted" with setAttribute()SPLFixed bug GH-18322: SplObjectStorage debug handler mismanages memory.StandardFixed bug GH-18145: php8ts crashes in php_clear_stat_cache().Fixed bug GH-18209: Use-after-free in extract() with EXTR_REFS.Fixed bug GH-18212: fseek with SEEK_CUR whence value and negative offset leads to negative stream position.Fix resource leak in iptcembed() on error.ZipFix uouv when handling empty options in ZipArchive::addGlob().Fix memory leak when handling a too long path in ZipArchive::addGlob().