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

PHP 7.4.6 came out on 14 May 2020. 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 7.4 no longer gets any updates. If your site still runs on PHP 7.4, it should be moved to a version of PHP that is still supported.

What changed in PHP 7.4.6

All PHP 7.4 releases

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

Core

  • Fixed bug #79536 (zend_clear_exception prevent exception's destructor to be called). (Laruence)
  • Fixed bug #78434 (Generator yields no items after valid() call). (Nikita)
  • Fixed bug #79477 (casting object into array creates references). (Nikita)
  • Fixed bug #79514 (Memory leaks while including unexistent file). (cmb, Nikita)

DOM

  • Fixed bug #78221 (DOMNode::normalize() doesn't remove empty text nodes). (cmb)

EXIF

  • Fixed bug #79336 (ext/exif/tests/bug79046.phpt fails on Big endian arch). (Nikita)

FCGI

  • Fixed bug #79491 (Search for .user.ini extends up to root dir). (cmb)

MBString

  • Fixed bug #79441 (Segfault in mb_chr() if internal encoding is unsupported). (Girgias)

OpenSSL

  • Fixed bug #79497 (stream_socket_client() throws an unknown error sometimes with <1s timeout). (Joe Cai)

PCRE

  • Upgraded to PCRE2 10.34. (cmb)

Phar

  • Fixed bug #79503 (Memory leak on duplicate metadata). (cmb)

SimpleXML

  • Fixed bug #79528 (Different object of the same xml between 7.4.5 and 7.4.4). (cmb)

SPL

  • Fixed bug #69264 (__debugInfo() ignored while extending SPL classes). (cmb)
  • Fixed bug #67369 (ArrayObject serialization drops the iterator class). (Alex Dowad)

Standard

  • Fixed bug #79468 (SIGSEGV when closing stream handle with a stream filter appended). (dinosaur)
  • Fixed bug #79447 (Serializing uninitialized typed properties with __sleep should not throw). (nicolas-grekas)

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