×
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.2.22 release notes: what changed

PHP 8.2.22 came out on 1 August 2024. Below is the full list of changes it made, grouped by the part of PHP that each one affects.

What changed in PHP 8.2.22

All PHP 8.2 releases

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

Core

  • Fixed bug GH-13922 (Fixed support for systems with sysconf(_SC_GETPW_R_SIZE_MAX) == -1). (Arnaud)
  • Fixed bug GH-14626 (Fix is_zend_ptr() for huge blocks). (Arnaud)
  • Fixed bug GH-14590 (Memory leak in FPM test gh13563-conf-bool-env.phpt. (nielsdos)
  • Fixed OSS-Fuzz #69765. (nielsdos)
  • Fixed bug GH-14741 (Segmentation fault in Zend/zend_types.h). (nielsdos)
  • Fixed bug GH-14969 (Use-after-free in property coercion with __toString()). (ilutov)
  • Fixed bug GH-14961 (Comment between -> and keyword results in parse error). (ilutov)

Dom

  • Fixed bug GH-14702 (DOMDocument::xinclude() crash). (nielsdos)

Gd

  • ext/gd/tests/gh10614.phpt: skip if no PNG support. (orlitzky)
  • restored warning instead of fata error. (dryabov)

LibXML

  • Fixed bug GH-14563 (Build failure with libxml2 v2.13.0). (nielsdos)

Opcache

  • Fixed bug GH-14550 (No warning message when Zend DTrace is enabled that opcache.jit is implictly disabled). (nielsdos)

Output

  • Fixed bug GH-14808 (Unexpected null pointer in Zend/zend_string.h with empty output buffer). (nielsdos)

PDO

  • Fixed bug GH-14712 (Crash with PDORow access to null property). (David Carlier)

Phar

  • Fixed bug GH-14603 (null string from zip entry). (David Carlier)

PHPDBG

  • Fixed bug GH-14596 (crashes with ASAN and ZEND_RC_DEBUG=1). (David Carlier)
  • Fixed bug GH-14553 (echo output trimmed at NULL byte). (nielsdos)

Shmop

  • Fixed bug GH-14537 (shmop Windows 11 crashes the process). (nielsdos)

SimpleXML

  • Fixed bug GH-14638 (null dereference after XML parsing failure). (David Carlier)

SPL

  • Fixed bug GH-14639 (Member access within null pointer in ext/spl/spl_observer.c). (nielsdos)

Standard

  • Fix 32-bit wordwrap test failures. (orlitzky)
  • Fixed bug GH-14774 (time_sleep_until overflow). (David Carlier)

Tidy

  • Fix memory leak in tidy_repair_file(). (nielsdos)

Treewide

  • Fix compatibility with libxml2 2.13.2. (nielsdos)

XML

  • Move away from to-be-deprecated libxml fields. (nielsdos)
  • Fixed bug GH-14834 (Error installing PHP when --with-pear is used). (nielsdos)

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