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

PHP 8.1.24 came out on 28 September 2023. 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.24

All PHP 8.1 releases

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

Core

  • Fixed bug GH-11937 (Constant ASTs containing objects). (ilutov)
  • Fixed bug GH-11790 (On riscv64 require libatomic if actually needed). (Jeremie Courreges-Anglas)
  • Fixed bug GH-12073 (Segfault when freeing incompletely initialized closures). (ilutov)
  • Fixed bug GH-12060 (Internal iterator rewind handler is called twice). (ju1ius)
  • Fixed bug GH-12102 (Incorrect compile error when using array access on TMP value in function call). (ilutov)

DOM

  • Fix memory leak when setting an invalid DOMDocument encoding. (nielsdos)

Iconv

  • Fixed build for NetBSD which still uses the old iconv signature. (David Carlier)

Intl

  • Fixed bug GH-12020 (intl_get_error_message() broken after MessageFormatter::formatMessage() fails). (Girgias)

MySQLnd

  • Fixed bug GH-10270 (Invalid error message when connection via SSL fails: "trying to connect via (null)"). (Kamil Tekiela)

ODBC

  • Fixed memory leak with failed SQLPrepare. (NattyNarwhal)
  • Fixed persistent procedural ODBC connections not getting closed. (NattyNarwhal)

SimpleXML

  • Fixed bug #52751 (XPath processing-instruction() function is not supported). (nielsdos)

SPL

  • Fixed bug GH-11972 (RecursiveCallbackFilterIterator regression in 8.1.18). (nielsdos)

SQLite3

  • Fixed bug GH-11878 (SQLite3 callback functions cause a memory leak with a callable array). (nielsdos, arnaud-lb)

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