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

PHP 8.2.6 came out on 11 May 2023. 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.6

All PHP 8.2 releases

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

Core

  • Fix inconsistent float negation in constant expressions. (ilutov)
  • Fixed bug GH-8841 (php-cli core dump calling a badly formed function). (nielsdos)
  • Fixed bug GH-10737 (PHP 8.1.16 segfaults on line 597 of sapi/apache2handler/sapi_apache2.c). (nielsdos, ElliotNB)
  • Fixed bug GH-11028 (Heap Buffer Overflow in zval_undefined_cv.). (nielsdos)
  • Fixed bug GH-11108 (Incorrect CG(memoize_mode) state after bailout in ??=). (ilutov)

Date

  • Fixed bug where the diff() method would not return the right result around DST changeover for date/times associated with a timezone identifier. (Derick)
  • Fixed out-of-range bug when converting to/from around the LONG_MIN unix timestamp. (Derick)

DOM

  • Fixed bug #80602 (Segfault when using DOMChildNode::before()). (Nathan Freeman)
  • Fixed incorrect error handling in dom_zvals_to_fragment(). (nielsdos)

Exif

  • Fixed bug GH-9397 (exif read : warnings and errors : Potentially invalid endianess, Illegal IFD size and Undefined index). (nielsdos)

Intl

  • Fixed bug GH-11071 (TZData version not displayed anymore). (Remi)

PCRE

  • Fixed bug GH-10968 (Segfault in preg_replace_callback_array()). (ilutov)

Reflection

  • Fixed bug GH-10983 (State-dependant segfault in ReflectionObject::getProperties). (nielsdos)

SPL

  • Handle indirect zvals and use up-to-date properties in SplFixedArray::__serialize. (nielsdos)

Standard

  • Fixed bug GH-10990 (mail() throws TypeError after iterating over $additional_headers array by reference). (nielsdos)
  • Fixed bug GH-9775 (Duplicates returned by array_unique when using enums). (ilutov)

Streams

  • Fixed bug GH-10406 (feof() behavior change for UNIX based socket resources). (Jakub Zelenka)

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