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.
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)
← Previous release: PHP 8.1.23 Next release: PHP 8.1.25 →
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 .
Related articles
Useful articles to help you determine if you need to upgrade your server's PHP version and how to go about doing so.
Read more →
If you don't want to use our tool or have already tried what follows is a list of three simple tests you can perform to determine your PHP version.We have listed them in order of complexity, starting with the easiest.
Read more →
← Back to Guide Index
Article last updated: 21st October, 2026