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

PHP 8.1.5 came out on 14 April 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.5

All PHP 8.1 releases

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

Core

  • Fixed bug GH-8176 (Enum values in property initializers leak). (Bob)
  • Fixed freeing of internal attribute arguments. (Bob)
  • Fixed bug GH-8070 (memory leak of internal function attribute hash). (Tim Düsterhus)
  • Fixed bug GH-8160 (ZTS support on Alpine is broken). (Michael Voříšek)

Filter

  • Fixed signedness confusion in php_filter_validate_domain(). (cmb)

Intl

  • Fixed bug GH-8115 (Can't catch arg type deprecation when instantiating Intl classes). (ilutov)
  • Fixed bug GH-8142 (Compilation error on cygwin). (David Carlier)
  • Fixed bug GH-7734 (Fix IntlPartsIterator key off-by-one error and first key). (ilutov)

MBString

  • Fixed bug GH-8208 (mb_encode_mimeheader: $indent functionality broken). (cmb)

MySQLi

  • Fixed bug GH-8068 (mysqli_fetch_object creates inaccessible properties). (cmb)

Pcntl

  • Fixed bug GH-8142 (Compilation error on cygwin). (David Carlier)

PgSQL

  • Fixed result_type related stack corruption on LLP64 architectures. (cmb)
  • Fixed bug GH-8253 (pg_insert() fails for references). (cmb)

Sockets

  • Fixed Solaris builds. (David Carlier)
  • Fix undefined behavior in php_set_inet6_addr. (ilutov)

SPL

  • Fixed bug GH-8121 (SplFileObject - seek and key with csv file inconsistent). (cmb)
  • Fixed bug GH-8192 (Cannot override DirectoryIterator::current() without return typehint in 8.1). (Nikita)

Standard

  • Fixed bug GH-8048 (Force macOS to use statfs). (risner)

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