PHP 8.0.21 came out on 7 July 2022. Below is the full list of changes it made, grouped by the part of PHP that each one affects.
The changes are listed in English, exactly as the PHP developers wrote them (15 in total).
Core
Fixed potential use after free in php_binary_init(). (Heiko Weber)
CLI
Fixed GH-8827 (Intentionally closing std handles no longer possible). (cmb)
COM
Fixed bug GH-8778 (Integer arithmethic with large number variants fails). (cmb)
Curl
Fixed CURLOPT_TLSAUTH_TYPE is not treated as a string option. (Pierrick)
Date
Fixed bug #74671 (DST timezone abbreviation has incorrect offset). (Derick) Fixed bug #77243 (Weekdays are calculated incorrectly for negative years). (Derick) Fixed bug #78139 (timezone_open accepts invalid timezone string argument). (Derick)
FPM
Fixed bug #67764 (fpm: syslog.ident don't work). (Jakub Zelenka)
MBString
Fixed bug GH-8685 (pcre not ready at mbstring startup). (Remi)
ODBC
Fixed handling of single-key connection strings. (Calvin Buckley)
OpenSSL
Fixed bug #50293 (Several openssl functions ignore the VCWD). (Jakub Zelenka, cmb) Fixed bug #81713 (NULL byte injection in several OpenSSL functions working with certificates). (Jakub Zelenka)
PDO_ODBC
Fixed errorInfo() result on successful PDOStatement->execute(). (Yurunsoft) Fixed handling of single-key connection strings. (Calvin Buckley)
Zip
Fixed bug GH-8781 (ZipArchive::close deletes zip file without updating stat cache). (Remi)
← Previous release: PHP 8.0.20 Next release: PHP 8.0.22 →
This list comes from the NEWS file that the PHP developers keep with the PHP source code, and the same list is also published on php.net .
Related articles
Useful articles to help you determine if you need to upgrade your server's PHP version and how to go about doing so.
Read more →
If you don't want to use our tool or have already tried what follows is a list of three simple tests you can perform to determine your PHP version.We have listed them in order of complexity, starting with the easiest.
Read more →
← Back to Guide Index
Article last updated: 21st October, 2026