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

PHP 8.1.9 came out on 4 August 2022. Below is the full list of changes it made, grouped by the part of PHP that each one affects.

What changed in PHP 8.1.9

All PHP 8.1 releases

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

CLI

  • Fixed potential overflow for the builtin server via the PHP_CLI_SERVER_WORKERS environment variable. (yiyuaner)

Core

  • Fixed bug GH-8923 (error_log on Windows can hold the file write lock). (cmb)
  • Fixed bug GH-8995 (WeakMap object reference offset causing TypeError). (Tobias Bachert)

CLI

  • Fixed GH-8952 (Intentionally closing std handles no longer possible). (Arnaud, cmb)

Date

  • Fixed bug #80047 (DatePeriod doesn't warn with custom DateTimeImmutable). (Derick)

FPM

  • Fixed zlog message prepend, free on incorrect address. (Heiko Weber)
  • Fixed possible double free on configuration loading failure. (Heiko Weber).

GD

  • Fixed bug GH-8848 (imagecopyresized() error refers to the wrong argument). (cmb)

Intl

  • Fixed build for ICU 69.x and onwards. (David Carlier)

OPcache

  • Fixed bug GH-8847 (PHP hanging infinitly at 100% cpu when check php syntaxe of a valid file). (Dmitry)
  • Fixed bug GH-8030 (Segfault with JIT and large match/switch statements). (Arnaud)

Reflection

  • Fixed bug GH-8943 (Fixed Reflection::getModifiersNames() with readonly modifier). (Pierrick)
  • Fixed bug GH-8982 (Attribute with TARGET_METHOD is rejected on fake closure of method). (ilutov)

Standard

  • Fixed the crypt_sha256/512 api build with clang > 12. (David Carlier)
  • Uses CCRandomGenerateBytes instead of arc4random_buf on macOs. (David Carlier).
  • Fixed bug GH-9017 (php_stream_sock_open_from_socket could return NULL). (Heiko Weber)

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