PHP 8.0.12 came out on 21 October 2021. Below is the full list of changes it made, grouped by the part of PHP that each one affects.
Security This release fixed security problems, but PHP 8.0 no longer gets any updates. If your site still runs on PHP 8.0, it should be moved to a version of PHP that is still supported.
The changes are listed in English, exactly as the PHP developers wrote them (17 in total).
CLI
Fixed bug #81496 (Server logs incorrect request method). (lauri)
Core
Fixed bug #81435 (Observer current_observed_frame may point to an old (overwritten) frame). (Bob) Fixed bug #81380 (Observer may not be initialized properly). (krakjoe)
DOM
Fixed bug #81433 (DOMElement::setIdAttribute() called twice may remove ID). (Viktor Volkov)
FFI
Fixed bug #79576 ("TYPE *" shows unhelpful message when type is not defined). (Dmitry)
Fileinfo
Fixed bug #78987 (High memory usage during encoding detection). (Anatol)
Filter
Fixed bug #61700 (FILTER_FLAG_IPV6/FILTER_FLAG_NO_PRIV|RES_RANGE failing). (cmb, Nikita)
FPM
Fixed bug #81026 (PHP-FPM oob R/W in root process leading to privilege escalation) (CVE-2021-21703 ). (Jakub Zelenka)
Opcache
Fixed bug #81472 (Cannot support large linux major/minor device number when read /proc/self/maps). (Lin Yang)
Reflection
ReflectionAttribute is no longer final. (sasezaki)
SPL
Fixed bug #80663 (Recursive SplFixedArray::setSize() may cause double-free). (cmb, Nikita, Tyson Andre) Fixed bug #81477 (LimitIterator + SplFileObject regression in 8.0.1). (cmb)
Standard
Fixed bug #69751 (Change Error message of sprintf/printf for missing/typo position specifier). (Aliaksandr Bystry)
Streams
Fixed bug #81475 (stream_isatty emits warning with attached stream wrapper). (cmb)
XML
Fixed bug #70962 (XML_OPTION_SKIP_WHITE strips embedded whitespace). (Aliaksandr Bystry, cmb)
Zip
Fixed bug #81490 (ZipArchive::extractTo() may leak memory). (cmb, Remi) Fixed bug #77978 (Dirname ending in colon unzips to wrong dir). (cmb)
← Previous release: PHP 8.0.11 Next release: PHP 8.0.13 →
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