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.
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)
← Previous release: PHP 7.4.19 Next release: PHP 7.4.21 →
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 .
Related articles
Useful articles to help you determine if you need to upgrade your server's PHP version and how to go about doing so.
Read more →
If you don't want to use our tool or have already tried what follows is a list of three simple tests you can perform to determine your PHP version.We have listed them in order of complexity, starting with the easiest.
Read more →
← Back to Guide Index
Article last updated: 21st October, 2026