Home » Releases » 8.1 » 8.1.34 »

PHP 8.1.10

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 --CGI-- support of run-tests.php.
      cmb
    • Fixed incorrect double to long casting in latest clang.
      zeriyoshi
    • Fixed bug GH-9266 (GC root buffer keeps growing when dtors are present).
      Michael Olšavský
  • date

    • Fixed bug GH-8730 (DateTime::diff miscalculation is same time zone of different type).
      Derick
    • Fixed bug GH-8964 (DateTime object comparison after applying delta less than 1 second).
      Derick
    • Fixed bug GH-9106: (DateInterval 1.5s added to DateTimeInterface is rounded down since PHP 8.1.0).
      Derick
    • Fixed bug #81263 (Wrong result from DateTimeImmutable::diff).
      Derick
  • dba

    • Fixed LMDB driver memory leak on DB creation failure (Girgias)
    • Fixed bug GH-9155 (dba_open("non-existing", "c-", "flatfile") segfaults) (cmb)
  • imap

    • Fixed bug GH-9309 (Segfault when connection is used after imap_close()).
      cmb
  • intl

    • Fixed IntlDateFormatter::formatObject() parameter type.
      Gert de Pagter
  • mbstring

    • Fixed bug GH-9008 (mb_detect_encoding(): wrong results with null $encodings).
      cmb
  • opcache

    • Fixed bug GH-9033 (Loading blacklist file can fail due to negative length).
      cmb
    • Fixed bug GH-9164 (Segfault in zend_accel_class_hash_copy).
      Arnaud
      Sergei Turchanov
  • openssl

    • Fixed bug GH-9339 (OpenSSL oid_file path check warning contains uninitialized path).
      Jakub Zelenka
  • pdo_sqlite

    • Fixed bug GH-9032 (SQLite3 authorizer crashes on NULL values).
      cmb
  • sqlite3

    • Fixed bug GH-9032 (SQLite3 authorizer crashes on NULL values).
      cmb
  • streams

    • Fixed bug GH-8472 (The resource returned by stream_socket_accept may have incorrect metadata).
      Jakub Zelenka
    • Fixed bug GH-8409 (SSL handshake timeout leaves persistent connections hanging).
      Jakub Zelenka
      Twosee

PHP 8.1


  Represents a security release