This Release is Outdated
The latest release of PHP 8.4 is PHP
8.4.22
.
It is recommended to upgrade to the latest release.
PHP 8.4.2 Release Announcement
The PHP development team announces the immediate availability of PHP 8.4.2. This is a bug fix release.
All PHP 8.4 users are encouraged to upgrade to this version.
For source downloads of PHP 8.4.2 please visit our downloads page,
Windows source and binaries can be found on windows.php.net/download/.
The list of changes is recorded in the ChangeLog.
Source Code
-
PHP 8.4.2 (tar.gz)
sha256: 5d3cf82a7f4cafdcfc4f3d98f3e3ee81077ae57c709a5613cbff5834d78a7747
-
PHP 8.4.2 (tar.bz2)
sha256: ef4fe9921b885ce3b047792ab60260eaf657e22812be511d19d0e45edf984783
-
PHP 8.4.2 (tar.xz)
sha256: 92636453210f7f2174d6ee6df17a5811368f556a6c2c2cbcf019321e36456e01
Change Log
-
bcmath
- Fixed bug GH-16978 (Avoid unnecessary padding with leading zeros).
-
com
- Fixed bug GH-16991 (Getting typeinfo of non DISPATCH variant segfaults).
-
core
- Fixed bug GH-16344 (setRawValueWithoutLazyInitialization() and skipLazyInitialization() may change initialized proxy).
- Fix is_zend_ptr() huge block comparison.
- Fixed potential OOB read in zend_dirname() on Windows.
- Fixed bug GH-15964 (printf() can strip sign of -INF).
-
curl
- Fix various memory leaks in curl mime handling.
-
dba
- Fixed bug GH-16990 (dba_list() is now zero-indexed instead of using resource ids)
-
dom
- Fixed bug GH-16906 (Reloading document can cause UAF in iterator).
-
fpm
- Fixed bug GH-16932 (wrong FPM status output).
-
gmp
- Fixed bug GH-16890 (array_sum() with GMP can loose precision (LLP64)).
-
opcache
- Fixed bug GH-16851 (JIT_G(enabled) not set correctly on other threads).
- Fixed bug GH-16902 (Set of opcache tests fail zts+aarch64).
- Fixed bug GH-16879 (JIT dead code skipping does not update call_level).
-
sapi
- Fixed bug GH-16998 (UBSAN warning in rfc1867).
-
phpdbg
- Fixed bug GH-15208 (Segfault with breakpoint map and phpdbg_clear()).
-
standard
- Fixed bug GH-16905 (Internal iterator functions can't handle UNDEF properties).
- Fixed bug GH-16957 (Assertion failure in array_shift with self-referencing array).
-
streams
- Fixed network connect poll interuption handling.
-
windows
- Fixed bug GH-16849 (Error dialog causes process to hang).
- Windows Server 2025 is now properly reported.