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.
Changes in PHP 8.1.6
- Core:
- 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:
- 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:
- 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:
- 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:
- 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/.