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.
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)
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)
← Previous release: PHP 8.2.0 Next release: PHP 8.2.2 →
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 .
Related articles
Useful articles to help you determine if you need to upgrade your server's PHP version and how to go about doing so.
Read more →
If you don't want to use our tool or have already tried what follows is a list of three simple tests you can perform to determine your PHP version.We have listed them in order of complexity, starting with the easiest.
Read more →
← Back to Guide Index
Article last updated: 21st October, 2026