×
UpdatePHP Pro Log in Register
PHP expiry alert : PHP v8.1 has recently expired. Is your website still running this version? Click here for more details
SAFE versions of PHP: 8.5.12, 8.4.27, 8.3.36, 8.2.35
☰

PHP 8.4.22 release notes: what changed

PHP 8.4.22 came out on 4 June 2026. Below is the full list of changes it made, grouped by the part of PHP that each one affects.

What changed in PHP 8.4.22

All PHP 8.4 releases

The changes are listed in English, exactly as the PHP developers wrote them (15 in total).

Date

  • Fixed bug GH-18422 (int overflow in php_date_llabs). (iliaal)

Intl

  • Fix incorrect argument positions in out-of-bounds errors for IntlCalendar::set(), IntlCalendar::setDate(), IntlCalendar::setDateTime(), and IntlGregorianCalendar date/time construction. (Weilin Du)
  • Expose Spoofchecker restriction-level APIs on all supported ICU versions. (Weilin Du)
  • Fix SpoofChecker::setAllowedChars() and IntlDateFormatter::__construct() to report PHP constant names instead of ICU constant names in user-visible error messages. (Weilin Du)

MySQLnd

  • Fix persistent free of non-persistent connect_attr key (David Carlier).

Opcache

  • Fixed bug GH-21972 (Corrupted variable type when a typed by-value return contains a reference wrapper). (Weilin Du)
  • Fixed tracing JIT crash when a VM interrupt is handled during an observed user function call. (Levi Morrison)
  • Fixed bug GH-22004 (Assertion failure at ext/opcache/jit/zend_jit_trace.c). (Arnaud)

OpenSSL

  • Fix compatibility issues with OpenSSL 4.0. (jordikroon, Remi)

Phar

  • Fixed bug GH-21986 (PharData::getContent() crash on infinite recursion with symlinks). (David Carlier)

SOAP

  • Fixed integer overflow when decoding SOAP array indexes. (Weilin Du)

SPL

  • Fix SplFixedArray::setSize leak when destructor grows during clear. (David Carlier)
  • Fixed bug GH-21933 (use after free of self-freeing MultipleIterator children). (David Carlier)

Standard

  • Fixed bug GH-21689 (version_compare() incorrectly handles versions ending with a dot). (timwolla)
  • Fixed ip2long() leading zeros handling inconsistency on AIX. (ayappanec)

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.

Back to Guide Index
Article last updated: 21st October, 2026