PHP 8.1.23 came out on 31 August 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 (24 in total).
CLI
Fixed bug GH-11716 (cli server crashes on SIGINT when compiled with ZEND_RC_DEBUG=1). (nielsdos) Fixed bug GH-10964 (Improve man page about the built-in server). (Alexandre Daubois)
Core
Fixed strerror_r detection at configuration time. (Kévin Dunglas)
Date
Fixed bug GH-11416 : Crash with DatePeriod when uninitialised objects are passed in. (Derick)
DOM
Fix DOMEntity field getter bugs. (nielsdos) Fix incorrect attribute existence check in DOMElement::setAttributeNodeNS. (nielsdos) Fix DOMCharacterData::replaceWith() with itself. (nielsdos) Fix empty argument cases for DOMParentNode methods. (nielsdos) Fixed bug GH-11791 (Wrong default value of DOMDocument::xmlStandalone). (nielsdos) Fix json_encode result on DOMDocument. (nielsdos) Fix manually calling __construct() on DOM classes. (nielsdos) Fixed bug GH-11830 (ParentNode methods should perform their checks upfront). (nielsdos) Fix segfault when DOMParentNode::prepend() is called when the child disappears. (nielsdos)
FFI
Fix leaking definitions when using FFI::cdef()->new(...). (ilutov)
MySQLnd
Fixed bug GH-11440 (authentication to a sha256_password account fails over SSL). (nielsdos) Fixed bug GH-11438 (mysqlnd fails to authenticate with sha256_password accounts using passwords longer than 19 characters). (nielsdos, Kamil Tekiela) Fixed bug GH-11550 (MySQL Statement has a empty query result when the response field has changed, also Segmentation fault). (Yurunsoft) Fixed invalid error message "Malformed packet" when connection is dropped. (Kamil Tekiela)
Opcache
Fixed bug GH-11715 (opcache.interned_strings_buffer either has no effect or opcache_get_status() / phpinfo() is wrong). (nielsdos) Avoid adding an unnecessary read-lock when loading script from shm if restart is in progress. (mikhainin)
PCNTL
Revert behaviour of receiving SIGCHLD signals back to the behaviour before 8.1.22. (nielsdos)
SPL
Fixed bug #81992 (SplFixedArray::setSize() causes use-after-free). (nielsdos)
Standard
Prevent int overflow on $decimals in number_format. (Marc Bennewitz) Fixed bug GH-11870 (Fix off-by-one bug when truncating tempnam prefix) (athos-ribeiro)
← Previous release: PHP 8.1.22 Next release: PHP 8.1.24 →
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