php8.5
← All releases
PHP 8.4 Thursday, 19 December 2024

PHP 8.4.2

21 changes across 14 components.

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) (kocsismate)

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.