Home » Releases » 8.1 » 8.1.34 »

PHP 8.1.15

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

  • apache

    • Fixed bug GH-9949 (Partial content on incomplete POST request).
      cmb
  • core

    • Fixed bug GH-10072 (PHP crashes when execute_ex is overridden and a __call trampoline is used from internal code).
      Derick
    • Fix GH-10251 (Assertion `(flag & (1<<3)) == 0' failed).
      nielsdos
    • Fix wrong comparison in block optimisation pass after opcode update.
      nieldsdos
    • Fix GH-10248 (Assertion `!(zval_get_type(&(*(property))) == 10)' failed).
      nielsdos
  • date

    • Fixed bug GH-9891 (DateTime modify with unixtimestamp (@) must work like setTimestamp).
      Derick
    • Fixed bug GH-10218 (DateTimeZone fails to parse time zones that contain the "+" character).
      Derick
  • fiber

    • Fix assertion on stack allocation size.
      nielsdos
  • fpm

    • Fixed bug GH-9981 (FPM does not reset fastcgi.error_header).
      Jakub Zelenka
    • Fixed bug #67244 (Wrong owner:group for listening unix socket).
      Jakub Zelenka
  • hash

    • Handle exceptions from __toString in XXH3's initialization (nielsdos)
  • ldap

    • Fixed bug GH-10112 (LDAP\Connection::__construct() refers to ldap_create()).
      cmb
  • mbstring

    • Fixed: mb_strlen (and a couple of other mbstring functions) would wrongly treat 0x80, 0xFD, 0xFE, 0xFF, and certain other byte values as the first byte of a 2-byte SJIS character.
      Alex Dowad
  • opcache

    • Fix inverted bailout value in zend_runtime_jit() (Max Kellermann).
    • Fix access to uninitialized variable in accel_preload().
      nielsdos
    • Fix zend_jit_find_trace() crashes.
      Max Kellermann
    • Added missing lock for EXIT_INVALIDATE in zend_jit_trace_exit.
      Max Kellermann
  • phar

    • Fix wrong flags check for compression method in phar_object.c (nielsdos)
  • phpdbg

    • Fix undefined behaviour in phpdbg_load_module_or_extension().
      nielsdos
    • Fix NULL pointer dereference in phpdbg_create_conditional_breal().
      nielsdos
    • Fix GH-9710: phpdbg memory leaks by option "-h" (nielsdos)
    • Fix phpdbg segmentation fault in case of malformed input (nielsdos)
  • posix

    • Fix memory leak in posix_ttyname() (girgias)
  • standard

    • Fix GH-10187 (Segfault in stripslashes() with arm64).
      nielsdos
    • Fix substr_replace with slots in repl_ht being UNDEF.
      nielsdos
  • tsrm

    • Fixed Windows shmget() wrt. IPC_PRIVATE.
      Tyson Andre
  • xmlwriter

    • Fix missing check for xmlTextWriterEndElement (nielsdos)

PHP 8.1


  Represents a security release