December 2024Community changesPHP version 8.4.2 changesBcMathFixed bug GH-16978: Avoid unnecessary padding with leading zerosCOMFixed bug GH-16991: Getting typeinfo of non DISPATCH variant segfaultsCoreFixed bug GH-16344: setRawValueWithoutLazyInitialization() and skipLazyInitialization() may change initialized proxyFix is_zend_ptr() huge block comparisonFixed potential OOB read in zend_dirname() on WindowsFixed bug GH-15964: printf() can strip sign of -INFCurlFix various memory leaks in curl mime handlingDBAFixed bug GH-16990: dba_list() is now zero-indexed instead of using resource idsDOMFixed bug GH-16906: Reloading document can cause UAF in iteratorFPMFixed bug GH-16932: wrong FPM status outputGMPFixed bug GH-16890: array_sum() with GMP can lose precision (LLP64)OpcacheFixed bug GH-16851: JIT_G(enabled) not set correctly on other threadsFixed bug GH-16902: Set of opcache tests fail zts+aarch64Fixed bug GH-16879: JIT dead code skipping does not update call_levelSAPIFixed bug GH-16998: UBSAN warning in rfc1867PHPDBGFixed bug GH-15208: Segfault with breakpoint map and phpdbg_clear()StandardFixed bug GH-16905: Internal iterator functions can't handle UNDEF propertiesFixed bug GH-16957: Assertion failure in array_shift with self-referencing arrayStreamsFixed network connect poll interruption handlingWindowsFixed bug GH-16849: Error dialog causes process to hangWindows Server 2025 is now properly reportedPHP version 8.3.15 changesCalendarFixed jdtogregorian overflowFixed cal_to_jdjulian_days argument overflowCOMFixed bug GH-16991: Getting typeinfo of non DISPATCH variant segfaultsCoreFail early in *nix configuration build scriptFixed bug GH-16727: Opcache bad signal 139 crash in ZTS bookwormFixed bug GH-16799: Assertion failure at Zend/zend_vm_execute.h:7469Fixed bug GH-16630: UAF in lexer with encoding translation and heredocsFix is_zend_ptr() huge block comparisonFixed potential OOB read in zend_dirname() on WindowsCurlFixed bug GH-16802: open_basedir bypass using curl extensionFix various memory leaks in curl mime handlingDOMFixed bug GH-16777: Calling the constructor again on a DOM object after it is in a document causes UAFFixed bug GH-16906: Reloading document can cause UAF in iteratorFPMFixed GH-16432: PHP-FPM 8.2 SIGSEGV in fpm_get_statusGDFixed GH-16776: imagecreatefromstring overflowGMPFixed bug GH-16890: array_sum() with GMP can lose precision (LLP64)HashFixed GH-16711: Segfault in mhash()OpcacheFixed bug GH-16770: Tracing JIT type mismatch when returning UNDEFFixed bug GH-16851: JIT_G(enabled) not set correctly on other threadsFixed bug GH-16902: Set of opcache tests fail zts+aarch64OpenSSLPrevent unexpected array entry conversion when reading keyFix various memory leaks related to openssl exportsFix memory leak in php_openssl_pkey_from_zval()PDOFixed memory leak of setFetchMode()PharFixed bug GH-16695: phar:// tar parser and zero-length file header blocksPHPDBGFixed bug GH-15208: Segfault with breakpoint map and phpdbg_clear()SAPIFixed bug GH-16998: UBSAN warning in rfc1867SimpleXMLFixed bug GH-16808: Segmentation fault in RecursiveIteratorIterator->current() with an XML element inputSOAPFix make check being invoked in ext/soapStandardFixed bug GH-16905: Internal iterator functions can't handle UNDEF propertiesFixed bug GH-16957: Assertion failure in array_shift with self-referencing arrayStreamsFixed network connect poll interruption handlingWindowsFixed bug GH-16849: Error dialog causes process to hangPHP version 8.2.27 changesCalendarFixed jdtogregorian overflowFixed cal_to_jdjulian_days argument overflowCOMFixed bug GH-16991: Getting typeinfo of non DISPATCH variant segfaultsCoreFail early in *nix configuration build scriptFixed bug GH-16727: Opcache bad signal 139 crash in ZTS bookwormFixed bug GH-16799: Assertion failure at Zend/zend_vm_execute.h:7469Fixed bug GH-16630: UAF in lexer with encoding translation and heredocsFix is_zend_ptr() huge block comparisonFixed potential OOB read in zend_dirname() on WindowsCurlFix various memory leaks in curl mime handlingFPMFixed GH-16432: PHP-FPM 8.2 SIGSEGV in fpm_get_statusGDFixed GH-16776: imagecreatefromstring overflowGMPRevert gmp_pow() overly restrictive overflow checksHashFixed GH-16711: Segfault in mhash()OpcacheFixed bug GH-16770: Tracing JIT type mismatch when returning UNDEFFixed bug GH-16851: JIT_G(enabled) not set correctly on other threadsFixed bug GH-16902: Set of opcache tests fail zts+aarch64OpenSSLPrevent unexpected array entry conversion when reading keyFix various memory leaks related to openssl exportsFix memory leak in php_openssl_pkey_from_zval()PDOFixed memory leak of setFetchMode()PharFixed bug GH-16695: phar:// tar parser and zero-length file header blocksPHPDBGFixed bug GH-15208: Segfault with breakpoint map and phpdbg_clear()SAPIFixed bug GH-16998: UBSAN warning in rfc1867SimpleXMLFixed bug GH-16808: Segmentation fault in RecursiveIteratorIterator->current() with an XML element inputSNMPFixed bug GH-16959: snmget modifies the object_id arrayStandardFixed bug GH-16905: Internal iterator functions can't handle UNDEF propertiesStreamsFixed network connect poll interruption handlingWindowsFixed bug GH-16849: Error dialog causes process to hang