PHP 8.4.2 came out on 19 December 2024. Below is the full list of changes it made, grouped by the part of PHP that each one affects.
The changes are listed in English, exactly as the PHP developers wrote them (21 in total).
BcMath
Fixed bug GH-16978 (Avoid unnecessary padding with leading zeros). (Saki Takamachi)
COM
Fixed bug GH-16991 (Getting typeinfo of non DISPATCH variant segfaults). (cmb)
Core
Fixed bug GH-16344 (setRawValueWithoutLazyInitialization() and skipLazyInitialization() may change initialized proxy). (Arnaud) Fix is_zend_ptr() huge block comparison. (nielsdos) Fixed potential OOB read in zend_dirname() on Windows. (cmb) Fixed bug GH-15964 (printf() can strip sign of -INF). (divinity76, cmb)
Curl
Fix various memory leaks in curl mime handling. (nielsdos)
DBA
Fixed bug GH-16990 (dba_list() is now zero-indexed instead of using resource ids) (kocsismate)
DOM
Fixed bug GH-16906 (Reloading document can cause UAF in iterator). (nielsdos)
FPM
Fixed bug GH-16932 (wrong FPM status output). (Jakub Zelenka, James Lucas)
GMP
Fixed bug GH-16890 (array_sum() with GMP can loose precision (LLP64)). (cmb)
Opcache
Fixed bug GH-16851 (JIT_G(enabled) not set correctly on other threads). (dktapps) Fixed bug GH-16902 (Set of opcache tests fail zts+aarch64). (nielsdos) Fixed bug GH-16879 (JIT dead code skipping does not update call_level). (nielsdos)
SAPI
Fixed bug GH-16998 (UBSAN warning in rfc1867). (nielsdos)
PHPDBG
Fixed bug GH-15208 (Segfault with breakpoint map and phpdbg_clear()). (nielsdos)
Standard
Fixed bug GH-16905 (Internal iterator functions can't handle UNDEF properties). (nielsdos) Fixed bug GH-16957 (Assertion failure in array_shift with self-referencing array). (nielsdos)
Streams
Fixed network connect poll interuption handling. (Jakub Zelenka)
Windows
Fixed bug GH-16849 (Error dialog causes process to hang). (cmb) Windows Server 2025 is now properly reported. (cmb)
← Previous release: PHP 8.4.1 Next release: PHP 8.4.3 →
This list comes from the NEWS file that the PHP developers keep with the PHP source code, and the same list is also published on php.net .
Related articles
Useful articles to help you determine if you need to upgrade your server's PHP version and how to go about doing so.
Read more →
If you don't want to use our tool or have already tried what follows is a list of three simple tests you can perform to determine your PHP version.We have listed them in order of complexity, starting with the easiest.
Read more →
← Back to Guide Index
Article last updated: 21st October, 2026