Home » Releases » 8.1 » 8.1.34 »

PHP 8.1.11

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

  • core

    • Fixed bug GH-9323 (Crash in ZEND_RETURN/GC/zend_call_function) (Tim Starling)
    • Fixed bug GH-9361 (Segmentation fault on script exit #9379).
      cmb
      Christian Schneider
    • Fixed bug GH-9447 (Invalid class FQN emitted by AST dump for new and class constants in constant expressions).
      ilutov
    • Fixed bug #81727: Don't mangle HTTP variable names that clash with ones that have a specific semantic meaning.
      CVE-2022-31629). (Derick
  • dom

    • Fixed bug #79451 (DOMDocument->replaceChild on doctype causes double free).
      Nathan Freeman
  • fpm

    • Fixed bug GH-8885 (FPM access.log with stderr begins to write logs to error_log after daemon reload).
      Dmitry Menshikov
    • Fixed bug #77780 ("Headers already sent..." when previous connection was aborted).
      Jakub Zelenka
  • gmp

    • Fixed bug GH-9308 (GMP throws the wrong error when a GMP object is passed to gmp_init()).
      Girgias
  • intl

    • Fixed bug GH-9421 (Incorrect argument number for ValueError in NumberFormatter).
      Girgias
  • pcre

    • Fixed pcre.jit on Apple Silicon.
      Niklas Keller
  • pdo_pgsql

    • Fixed bug GH-9411 (PgSQL large object resource is incorrectly closed).
      Yurunsoft
  • phar

    • Fixed bug #81726: phar wrapper: DOS when using quine gzip file.
      CVE-2022-31628). (cmb
  • reflection

    • Fixed bug GH-8932 (ReflectionFunction provides no way to get the called class of a Closure).
      cmb
      Nicolas Grekas
  • streams

    • Fixed bug GH-9316 ($http_response_header is wrong for long status line).
      cmb
      timwolla

PHP 8.1


  Represents a security release