Home » Releases » 8.1 » 8.1.34 »

PHP 8.1.23

PHP 8.1 is no longer officially supported by the PHP project.

Official support refers to that provided direct by the PHP Project.

If you install PHP via third-party packages, support timelines may be different. Please read the Release Support Policy for more information.

The latest release of PHP 8.1 is 8.1.34 which includes important security patches.

Source Code

Change Log

  • 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)

PHP 8.1


  Represents a security release