×
UpdatePHP Pro Log in Register
PHP expiry alert : PHP v8.1 has recently expired. Is your website still running this version? Click here for more details
SAFE versions of PHP: 8.5.12, 8.4.27, 8.3.36, 8.2.35
☰

PHP 8.0.12 release notes: what changed

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.

What changed in PHP 8.0.12

All PHP 8.0 releases

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)

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.

Back to Guide Index
Article last updated: 21st October, 2026