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

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.

What changed in PHP 8.1.23

All PHP 8.1 releases

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)

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