PHP 8.1.6 Released – Comprehensive Bug‑Fix Update
PHP 8.1.6, a maintenance release of the popular server‑side language, has been made available, bringing numerous bug fixes across core, date handling, FFI, FPM, hash, iconv, intl, mbstring, MySQLi, SPL, streams, and zlib components, and the PHP team encourages all 8.1 users to upgrade.
PHP 8.1.6 has been released as a bug‑fix version, and the PHP project encourages all users of the 8.1 branch to upgrade. The release includes a series of fixes across many extensions and core components.
Core Fixed bug #8310 (registry settings no longer recognized). Fixed a potential race condition during resource ID allocation. Fixed bug #8133 (failure when preloading constants that contain enum arrays). Fixed the Haiku ZTS build.
Date Fixed bug #7752 (DateTimeZone::getTransitions() returned insufficient data). Fixed bug #8108 (timezone not working as expected). Fixed bug #81660 (DateTimeZone::getTransitions() returned invalid data). Fixed bug #8289 (exceptions from an iterator were not re‑thrown into a generator).
FFI Fixed bug #8433 (leak when assigning a function pointer to a struct in FFI).
FPM Fixed bug #76003 (FPM /status reported an incorrect active process count). Fixed bug #77023 (FPM could not terminate processes). Fixed the comment in the kqueue delete‑callback log message.
Hash Fixed bug #81714 (segmentation fault when serializing the final HashContext).
Iconv Fixed bug #8218 (ob_end_clean does not reset the Content‑Encoding header).
Intl Fixed bug #8364 (msgfmt_format $values may not support references).
MBString Adjusted the error count for invalid UTF‑8 text to match the WHATWG specification, reverting the behavior of PHP 8.0 and earlier.
MySQLi Fixed bug #8267 (MySQLi on Windows used an unsupported format specifier).
SPL Fixed bug #8366 (ArrayIterator could leak when __construct() is called). Fixed bug #8273 (SplFileObject::key() returned an incorrect value).
Streams Fixed the issue where php://temp switching to a temporary file did not retain the file position.
Zlib Fixed bug #8218 (ob_end_clean does not reset the Content‑Encoding header).
Laravel Tech Community
Specializing in Laravel development, we continuously publish fresh content and grow alongside the elegant, stable Laravel framework.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.