×
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.5 release notes: what changed

PHP 8.0.5 came out on 29 April 2021. Below is the full list of changes it made, grouped by the part of PHP that each one affects.

What changed in PHP 8.0.5

All PHP 8.0 releases

The changes are listed in English, exactly as the PHP developers wrote them (16 in total).

Core

  • Changed PowerPC CPU registers used by Zend VM to work around GCC bug. Old registers (r28/r29) might be clobbered by _restgpr routine used for return from C function compiled with -Os. (Dmitry)

DOM

  • Fixed bug #66783 (UAF when appending DOMDocument to element). (cmb)

FFI

  • Fixed bug #80847 (CData structs with fields of type struct can't be passed as C function argument). (Nickolas Daniel da Silva, Dmitry)

FPM

  • Fixed bug #80024 (Duplication of info about inherited socket after pool removing). (Jakub Zelenka)

FTP

  • Fixed bug #80880 (SSL_read on shutdown, ftp/proc_open). (cmb, Jakub Zelenka)

Imap

  • Fixed bug #80710 (imap_mail_compose() header injection). (cmb, Stas)

LibXML

  • Fixed bug #73533 (Invalid memory access in php_libxml_xmlCheckUTF8). (cmb)

Opcache

  • Fixed bug #80839 (PHP problem with JIT). (Dmitry)
  • Fixed bug #80861 (erronous array key overflow in 2D array with JIT). (Dmitry)

Pcntl

  • Fixed bug #79812 (Potential integer overflow in pcntl_exec()). (cmb)

PDO_ODBC

  • Fixed bug #80783 (PDO ODBC truncates BLOB records at every 256th byte). (cmb)

PDO_pgsql

  • Fixed bug #80892 (PDO::PARAM_INT is treated the same as PDO::PARAM_STR). (Matteo)

Session

  • Fixed bug #80889 (Cannot set save handler when save_handler is invalid). (cmb)

SOAP

  • Fixed bug #69668 (SOAP special XML characters in namespace URIs not encoded). (cmb)

Standard

  • Fixed bug #80915 (Taking a reference to $_SERVER hides its values from phpinfo()). (Rowan Tommins)
  • Fixed bug #80914 ('getdir' accidentally defined as an alias of 'dir'). (Rowan Tommins)

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