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

PHP 8.1.7 came out on 9 June 2022. 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, but PHP 8.1 no longer gets any updates. If your site still runs on PHP 8.1, it should be moved to a version of PHP that is still supported.

What changed in PHP 8.1.7

All PHP 8.1 releases

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

CLI

  • Fixed bug GH-8575 (CLI closes standard streams too early). (Levi Morrison)

Date

  • Fixed bug #51934 (strtotime plurals / incorrect time). (Derick)
  • Fixed bug #51987 (Datetime fails to parse an ISO 8601 ordinal date (extended format)). (Derick)
  • Fixed bug #66019 (DateTime object does not support short ISO 8601 time format - YYYY-MM-DDTHH) (cmb, Derick)
  • Fixed bug #68549 (Timezones and offsets are not properly used when working with dates) (Derick, Roel Harbers)
  • Fixed bug #81565 (date parsing fails when provided with timezones including seconds). (Derick)
  • Fixed bug GH-7758 (Problems with negative timestamps and fractions). (Derick, Ilija)

FPM

  • Fixed ACL build check on MacOS. (David Carlier)
  • Fixed bug #72185: php-fpm writes empty fcgi record causing nginx 502. (Jakub Zelenka, loveharmful)
  • Fixes use after free. (Heiko Weber).

mysqlnd

  • Fixed bug #81719: mysqlnd/pdo password buffer overflow. (CVE-2022-31626) (c dot fol at ambionics dot io)

OPcache

  • Fixed bug GH-8461 (tracing JIT crash after function/method change). (Arnaud, Dmitry)

OpenSSL

  • Fixed bug #79589 (error:14095126:SSL routines:ssl3_read_n:unexpected eof while reading). (Jakub Zelenka)

Pcntl

  • Fixed Haiku build. (David Carlier)

Soap

  • Fixed bug GH-8578 (Error on wrong parameter on SoapHeader constructor). (robertnisipeanu)
  • Fixed bug GH-8538 (SoapClient may strip parts of nmtokens). (cmb)

SPL

  • Fixed bug GH-8235 (iterator_count() may run indefinitely). (cmb)

Standard

  • Fixed bug GH-8185 (Crash during unloading of extension after dl() in ZTS). (Arnaud)

Zip

  • Fixed type for index in ZipArchive::replaceFile. (Martin Rehberger)

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