PHP Release 8.1.6


PHP 8.1.6 Release Announcement

The PHP development team announces the immediate availability of PHP 8.1.6. This is a bug fix release.

All PHP 8.1 users are encouraged to upgrade to this version.

For source downloads of PHP 8.1.6 please visit our downloads page, Windows source and binaries can be found on windows.php.net/download/. The list of changes is recorded in the ChangeLog.

Source Code
PHP 8.1.6 (tar.gz)
SHA256: e847745fd66fc8c57fac993a609fefcded93fddccd225f0620a26bb5ae5753c3
PHP 8.1.6 (tar.bz2)
SHA256: 7b353304b7407554f70d3e101a226a1fc22decae5c4c42ed270c4e389bfa1b66
PHP 8.1.6 (tar.xz)
SHA256: da38d65bb0d5dd56f711cd478204f2b62a74a2c2b0d2d523a78d6eb865b2364c
Change Logs
core
  • Fixed bug GH-8310 (Registry settings are no longer recognized).
  • Fixed potential race condition during resource ID allocation.
  • Fixed bug GH-8133 (Preloading of constants containing arrays with enums segfaults).
  • Fixed Haiku ZTS builds.
date
  • Fixed bug GH-7752 (DateTimeZone::getTransitions() returns insufficient data).
  • Fixed bug GH-8108 (Timezone doesn't work as intended).
  • Fixed bug #81660 (DateTimeZone::getTransitions() returns invalid data).
  • Fixed bug GH-8289 (Exceptions thrown within a yielded from iterator are not rethrown into the generator).
ffi
  • Fixed bug GH-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 GH-8218 (ob_end_clean does not reset Content-Encoding header).
intl
  • Fixed bug GH-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 GH-8267 (MySQLi uses unsupported format specifier on Windows).
opcache
  • Fixed bug GH-8063 (OPcache breaks autoloading after E_COMPILE_ERROR).
spl
  • Fixed bug GH-8366 (ArrayIterator may leak when calling __construct()).
  • Fixed bug GH-8273 (SplFileObject: key() returns wrong value).
streams
  • Fixed php://temp does not preserve file-position when switched to temporary file.
zlib
  • Fixed bug GH-8218 (ob_end_clean does not reset Content-Encoding header).
To Top