PHP Release 8.1.23


PHP 8.1.23 Release Announcement

The PHP development team announces the immediate availability of PHP 8.1.23. This is a bug fix release.

All PHP 8.1 users are encouraged to upgrade to this version.

For source downloads of PHP 8.1.23 please visit our downloads page, Windows source and binaries can be found on windows.php.net/download/. The list of changes is recorded in the ChangeLog.

Source Code
PHP 8.1.23 (tar.gz)
SHA256: ec5330b3978edc8fe2f78830720505bf69d12542622b5cddccee63ae3a0e5b58
PHP 8.1.23 (tar.bz2)
SHA256: 929a62785177da892ddffca074bab2f1ff578473a0d4adb915c12f5f3e34ec1b
PHP 8.1.23 (tar.xz)
SHA256: fc48422fa7e75bb45916fc192a9f9728cb38bb2b5858572c51ea15825326360c
Change Logs
cli
  • Fixed bug GH-11716 (cli server crashes on SIGINT when compiled with ZEND_RC_DEBUG=1).
  • Fixed bug GH-10964 (Improve man page about the built-in server).
core
  • Fixed strerror_r detection at configuration time.
date
  • Fixed bug GH-11416: Crash with DatePeriod when uninitialised objects are passed in.
dom
  • Fix DOMEntity field getter bugs.
  • Fix incorrect attribute existence check in DOMElement::setAttributeNodeNS.
  • Fix DOMCharacterData::replaceWith() with itself.
  • Fix empty argument cases for DOMParentNode methods.
  • Fixed bug GH-11791 (Wrong default value of DOMDocument::xmlStandalone).
  • Fix json_encode result on DOMDocument.
  • Fix manually calling __construct() on DOM classes.
  • Fixed bug GH-11830 (ParentNode methods should perform their checks upfront).
  • Fix segfault when DOMParentNode::prepend() is called when the child disappears.
ffi
  • Fix leaking definitions when using FFI::cdef()->new(...).
mysqlnd
  • Fixed bug GH-11440 (authentication to a sha256_password account fails over SSL).
  • Fixed bug GH-11438 (mysqlnd fails to authenticate with sha256_password accounts using passwords longer than 19 characters).
  • Fixed bug GH-11550 (MySQL Statement has a empty query result when the response field has changed, also Segmentation fault).
  • Fixed invalid error message "Malformed packet" when connection is dropped.
opcache
  • Fixed bug GH-11715 (opcache.interned_strings_buffer either has no effect or opcache_get_status() / phpinfo() is wrong).
  • Avoid adding an unnecessary read-lock when loading script from shm if restart is in progress.
pcntl
  • Revert behaviour of receiving SIGCHLD signals back to the behaviour before 8.1.22.
spl
  • Fixed bug #81992 (SplFixedArray::setSize() causes use-after-free).
standard
  • Prevent int overflow on $decimals in number_format.
  • Fixed bug GH-11870 (Fix off-by-one bug when truncating tempnam prefix)
To Top