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

PHP 7.4.20 came out on 3 June 2021. Below is the full list of changes it made, grouped by the part of PHP that each one affects.

What changed in PHP 7.4.20

All PHP 7.4 releases

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

Core

  • Fixed bug #80929 (Method name corruption related to repeated calls to call_user_func_array). (twosee)
  • Fixed bug #80960 (opendir() warning wrong info when failed on Windows). (cmb)
  • Fixed bug #67792 (HTTP Authorization schemes are treated as case-sensitive). (cmb)
  • Fixed bug #80972 (Memory exhaustion on invalid string offset). (girgias)

FPM

  • Fixed bug #65800 (Events port mechanism). (psumbera)

FTP

  • Fixed bug #80901 (Info leak in ftp extension). (cmb)
  • Fixed bug #79100 (Wrong FTP error messages). (cmb)

GD

  • Fixed bug #81032 (GD install is affected by external libgd installation). (Flavio Heleno, cmb)

MBString

  • Fixed bug #81011 (mb_convert_encoding removes references from arrays). (cmb)

ODBC

  • Fixed bug #80460 (ODBC doesn't account for SQL_NO_TOTAL indicator). (cmb)

PDO_MySQL

  • Fixed bug #81037 (PDO discards error message text from prepared statement). (Kamil Tekiela)

PDO_ODBC

  • Fixed bug #44643 (bound parameters ignore explicit type definitions). (cmb)

pgsql

  • Fixed php_pgsql_fd_cast() wrt. php_stream_can_cast(). (cmb)

SPL

  • Fixed bug #80933 (SplFileObject::DROP_NEW_LINE is broken for NUL and CR). (cmb, Nikita)

Opcache

  • Fixed bug #80900 (switch statement behavior inside function). (twosee)
  • Fixed bug #81015 (Opcache optimization assumes wrong part of ternary operator in if-condition). (Nikita)

XMLReader

  • Fixed bug #73246 (XMLReader: encoding length not checked). (cmb)

Zip

  • Fixed bug #80863 (ZipArchive::extractTo() ignores references). (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