php8

The PHP development team have just announced the immediate availability of PHP 8.1.6 and 8.0.19. Two a bug fix releases.

All PHP 8.1 and 8.0 users are encouraged to upgrade to respective version.

PHP 8.1.6

Changes in PHP 8.1.6

  • Core:
    • Fixed bug #8310 (Registry settings are no longer recognized).
    • Fixed potential race condition during resource ID allocation.
    • Fixed bug #8133 (Preloading of constants containing arrays with enums segfaults).
    • Fixed Haiku ZTS builds.
  • Date:
    • Fixed bug #7752 (DateTimeZone::getTransitions() returns insufficient data).
    • Fixed bug #8108 (Timezone doesn’t work as intended).
    • Fixed bug #81660 (DateTimeZone::getTransitions() returns invalid data).
    • Fixed bug #8289 (Exceptions thrown within a yielded from iterator are not rethrown into the generator).
  • FFI:
    • Fixed bug #8433 (Assigning function pointers to structs in FFI leaks).
  • FPM:
    • Fixed bug #76003 (FPM /status reports wrong number of active processe).
    • Fixed bug #77023 (FPM cannot shutdown processes).
    • Fixed comment in kqueue remove callback log message.
  • Hash:
    • Fixed bug #81714 (segfault when serializing finalized HashContext).
  • Iconv:
    • Fixed bug #8218 (ob_end_clean does not reset Content-Encoding header).
  • Intl:
    • Fixed bug #8364 (msgfmt_format $values may not support references).
  • MBString:
    • Number of error markers emitted for invalid UTF-8 text matches WHATWG specification. This is a return to the behavior of PHP 8.0 and earlier.
  • MySQLi:
    • Fixed bug #8267 (MySQLi uses unsupported format specifier on Windows).
  • SPL:
    • Fixed bug #8366 (ArrayIterator may leak when calling __construct()).
    • Fixed bug #8273 (SplFileObject: key() returns wrong value).
  • Streams:
    • Fixed php://temp does not preserve file-position when switched to temporary file.
  • zlib:
    • Fixed bug #8218 (ob_end_clean does not reset Content-Encoding header).

Changes in PHP 8.0.19

  • Core:
    • Fixed bug #8289 (Exceptions thrown within a yielded from iterator are not rethrown into the generator).
  • Date:
    • Fixed bug #7979 (DatePeriod iterator advances when checking if valid).
  • FFI:
    • Fixed bug #8433 (Assigning function pointers to structs in FFI leaks).
  • FPM:
    • Fixed bug #76003 (FPM /status reports wrong number of active processe).
    • Fixed bug #77023 (FPM cannot shutdown processes).
    • Fixed comment in kqueue remove callback log message.
  • Iconv:
    • Fixed bug #8218 (ob_end_clean does not reset Content-Encoding header).
  • Intl:
    • Fixed bug #8364 (msgfmt_format $values may not support references).
  • MySQLi:
    • Fixed bug #8267 (MySQLi uses unsupported format specifier on Windows).
  • SPL:
    • Fixed bug #8366 (ArrayIterator may leak when calling __construct()).
    • Fixed bug #8273 (SplFileObject: key() returns wrong value).
  • Streams:
    • Fixed php://temp does not preserve file-position when switched to temporary file.
  • zlib:
    • Fixed bug #8218 (ob_end_clean does not reset Content-Encoding header).

For source downloads of PHP 8.1.6 and 8.0.19 please visit our downloads page, Windows source and binaries of PHP 8.1.6 and 8.0.19 can be found on windows.php.net/download/.