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

PHP 8.2.1 came out on 5 January 2023. Below is the full list of changes it made, grouped by the part of PHP that each one affects.

Security This release fixed security problems. PHP 8.2 has had newer releases since then, so if your site runs on PHP 8.2, update it to PHP 8.2.35, which includes these fixes.

What changed in PHP 8.2.1

All PHP 8.2 releases

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

Core

  • Fixed bug GH-9905 (constant() behaves inconsistent when class is undefined). (cmb)
  • Fixed bug GH-9918 (License information for xxHash is not included in README.REDIST.BINS file). (Akama Hitoshi)
  • Fixed bug GH-9890 (OpenSSL legacy providers not available on Windows). (cmb)
  • Fixed bug GH-9650 (Can't initialize heap: [0x000001e7]). (Michael Voříšek)
  • Fixed potentially undefined behavior in Windows ftok(3) emulation. (cmb)
  • Fixed GH-9769 (Misleading error message for unpacking of objects). (jhdxr)

Apache

  • Fixed bug GH-9949 (Partial content on incomplete POST request). (cmb)

FPM

  • Fixed bug GH-9959 (Solaris port event mechanism is still broken after bug #66694). (Petr Sumbera)
  • Fixed bug #68207 (Setting fastcgi.error_header can result in a WARNING). (Jakub Zelenka)
  • Fixed bug #80669 (FPM numeric user fails to set groups). (Jakub Zelenka)
  • Fixed bug GH-8517 (Random crash of FPM master process in fpm_stdio_child_said). (Jakub Zelenka)

Imap

  • Fixed bug GH-10051 (IMAP: there's no way to check if a IMAP\Connection is still open). (Girgias)

MBString

  • Fixed bug GH-9535 (The behavior of mb_strcut in mbstring has been changed in PHP8.1). (Nathan Freeman)

Opcache

  • Fixed bug GH-9968 (Segmentation Fault during OPCache Preload). (Arnaud, michdingpayc)

OpenSSL

  • Fixed bug GH-9997 (OpenSSL engine clean up segfault). (Jakub Zelenka)
  • Fixed bug GH-9064 (PHP fails to build if openssl was built with --no-ec). (Jakub Zelenka)
  • Fixed bug GH-10000 (OpenSSL test failures when OpenSSL compiled with no-dsa). (Jakub Zelenka)

Pcntl

  • Fixed bug GH-9298 (Signal handler called after rshutdown leads to crash). (Erki Aring)

PDO_Firebird

  • Fixed bug GH-9971 (Incorrect NUMERIC value returned from PDO_Firebird). (cmb)

PDO/SQLite

Session

  • Fixed GH-9932 (session name silently fails with . and [). (David Carlier)

SPL

  • Fixed GH-9883 (SplFileObject::__toString() reads next line). (Girgias)
  • Fixed GH-10011 (Trampoline autoloader will get reregistered and cannot be unregistered). (Girgias)

SQLite3

  • Fixed bug #81742 (open_basedir bypass in SQLite3 by using file URI). (cmb)

TSRM

  • Fixed Windows shmget() wrt. IPC_PRIVATE. (Tyson Andre)

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