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

PHP 8.0.3 came out on 4 March 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.3

All PHP 8.0 releases

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

Core

  • Fixed #80706 (mail(): Headers after Bcc headers may be ignored). (cmb)

DOM

  • Fixed bug #80600 (DOMChildNode::remove() doesn't work on CharacterData nodes). (beberlei)

Gettext

  • Fixed bug #53251 (bindtextdomain with null dir doesn't return old value). (cmb)

MySQLnd

  • Fixed bug #78680 (mysqlnd's mysql_clear_password does not transmit null-terminated password). (Daniel Black)
  • Fixed bug #80713 (SegFault when disabling ATTR_EMULATE_PREPARES and MySQL 8.0). (Nikita)

MySQLi

  • Fixed bug #74779 (x() and y() truncating floats to integers). (cmb)

Opcache

  • Fixed bug #80634 (write_property handler of internal classes is skipped on preloaded JITted code). (Dmitry)
  • Fixed bug #80682 (opcache doesn't honour pcre.jit option). (Remi)
  • Fixed bug #80742 (Opcache JIT makes some boolean logic unexpectedly be true). (Dmitry)
  • Fixed bug #80745 (JIT produces Assert failure and UNKNOWN:0 var_dumps in code involving bitshifts). (Dmitry)

OpenSSL

  • Fixed bug #80747 (Providing RSA key size < 512 generates key that crash PHP). (Nikita)

Phar

  • Fixed bug #75850 (Unclear error message wrt. __halt_compiler() w/o semicolon) (cmb)
  • Fixed bug #70091 (Phar does not mark UTF-8 filenames in ZIP archives). (cmb)
  • Fixed bug #53467 (Phar cannot compress large archives). (cmb, lserni)

Socket

  • Fixed bug #80723 (Different sockets compare as equal (regression in 8.0)). (Nikita)

SPL

  • Fixed bug#80719 (Iterating after failed ArrayObject::setIteratorClass() causes Segmentation fault). (Nikita)

Standard

  • Fixed bug #80654 (file_get_contents() maxlen fails above (2**31)-1 bytes). (cmb)
  • Fixed bug #80718 (ext/standard/dl.c fallback code path with syntax error). (Nikita)

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