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

PHP 8.2.9 came out on 3 August 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.9

All PHP 8.2 releases

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

Build

  • Fixed bug GH-11522 (PHP version check fails with '-' separator). (SVGAnimate)

CLI

  • Fix interrupted CLI output causing the process to exit. (nielsdos)

Core

  • Fixed oss-fuzz #60011 (Mis-compilation of by-reference nullsafe operator). (ilutov)
  • Fixed line number of JMP instruction over else block. (ilutov)
  • Fixed use-of-uninitialized-value with ??= on assert. (ilutov)
  • Fixed oss-fuzz #60411 (Fix double-compilation of arrow-functions). (ilutov)
  • Fixed build for FreeBSD before the 11.0 releases. (David Carlier)

Curl

  • Fix crash when an invalid callback function is passed to CURLMOPT_PUSHFUNCTION. (nielsdos)

Date

  • Fixed bug GH-11368 (Date modify returns invalid datetime). (Derick)
  • Fixed bug GH-11600 (Can't parse time strings which include (narrow) non-breaking space characters). (Derick)
  • Fixed bug GH-11854 (DateTime:createFromFormat stopped parsing datetime with extra space). (nielsdos, Derick)

DOM

  • Fixed bug GH-11625 (DOMElement::replaceWith() doesn't replace node with DOMDocumentFragment but just deletes node or causes wrapping <></> depending on libxml2 version). (nielsdos)

Fileinfo

  • Fixed bug GH-11298 (finfo returns wrong mime type for xz files). (Anatol)

FTP

  • Fix context option check for "overwrite". (JonasQuinten)
  • Fixed bug GH-10562 (Memory leak and invalid state with consecutive ftp_nb_fget). (nielsdos)

GD

  • Fix most of the external libgd test failures. (Michael Orlitzky)

Intl

  • Fix memory leak in MessageFormatter::format() on failure. (Girgias)

Libxml

MBString

  • Fix GH-11300 (license issue: restricted unicode license headers). (nielsdos)

Opcache

  • Fixed bug GH-10914 (OPCache with Enum and Callback functions results in segmentation fault). (nielsdos)
  • Prevent potential deadlock if accelerated globals cannot be allocated. (nielsdos)

PCNTL

  • Fixed bug GH-11498 (SIGCHLD is not always returned from proc_open). (nielsdos)

PDO

  • Fix GH-11587 (After php8.1, when PDO::ATTR_EMULATE_PREPARES is true and PDO::ATTR_STRINGIFY_FETCHES is true, decimal zeros are no longer filled). (SakiTakamachi)

PDO SQLite

  • Fix GH-11492 (Make test failure: ext/pdo_sqlite/tests/bug_42589.phpt). (KapitanOczywisty, CViniciusSDias)

Phar

  • Add missing check on EVP_VerifyUpdate() in phar util. (nielsdos)
  • Fixed bug GHSA-jqcx-ccgc-xwhv (Buffer mismanagement in phar_dir_read()). (CVE-2023-3824) (nielsdos)

PHPDBG

  • Fixed bug GH-9669 (phpdbg -h options doesn't list the -z option). (adsr)

Session

  • Removed broken url support for transferring session ID. (ilutov)

Standard

  • Fix serialization of RC1 objects appearing in object graph twice. (ilutov)

Streams

  • Fixed bug GH-11735 (Use-after-free when unregistering user stream wrapper from itself). (ilutov)

SQLite3

  • Fix replaced error handling in SQLite3Stmt::__construct. (nielsdos)

XMLReader

  • Fix GH-11548 (Argument corruption when calling XMLReader::open or XMLReader::XML non-statically with observer active). (Bob)

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