PHP 7.4.12 came out on 29 October 2020. 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 (27 in total).
Core
Fixed bug #80061 (Copying large files may have suboptimal performance). (cmb) Fixed bug #79423 (copy command is limited to size of file it can copy). (cmb) Fixed bug #80126 (Covariant return types failing compilation). (Nikita) Fixed bug #80186 (Segfault when iterating over FFI object). (Nikita)
Calendar
Fixed bug #80185 (jdtounix() fails after 2037). (cmb)
IMAP
Fixed bug #80213 (imap_mail_compose() segfaults on certain $bodies). (cmb) Fixed bug #80215 (imap_mail_compose() may modify by-val parameters). (cmb) Fixed bug #80220 (imap_mail_compose() may leak memory). (cmb) Fixed bug #80223 (imap_mail_compose() leaks envelope on malformed bodies). (cmb) Fixed bug #80216 (imap_mail_compose() does not validate types/encodings). (cmb) Fixed bug #80226 (imap_sort() leaks sortpgm memory). (cmb)
MySQLnd
Fixed bug #80115 (mysqlnd.debug doesn't recognize absolute paths with slashes). (cmb) Fixed bug #80107 (mysqli_query() fails for ~16 MB long query when compression is enabled). (Nikita)
ODBC
Fixed bug #78470 (odbc_specialcolumns() no longer accepts $nullable). (cmb) Fixed bug #80147 (BINARY strings may not be properly zero-terminated). (cmb) Fixed bug #80150 (Failure to fetch error message). (cmb) Fixed bug #80152 (odbc_execute() moves internal pointer of $params). (cmb) Fixed bug #46050 (odbc_next_result corrupts prepared resource). (cmb)
OPcache
Fixed bug #80083 (Optimizer pass 6 removes variables used for ibm_db2 data binding). (Nikita) Fixed bug #80194 (Assertion failure during block assembly of unreachable free with leading nop). (Nikita)
PCRE
Updated to PCRE 10.35. (cmb) Fixed bug #80118 (Erroneous whitespace match with JIT only). (cmb)
PDO_ODBC
Fixed bug #67465 (NULL Pointer dereference in odbc_handle_preparer). (cmb)
Standard
Fixed bug #80114 (parse_url does not accept URLs with port 0). (cmb, twosee) Fixed bug #76943 (Inconsistent stream_wrapper_restore() errors). (cmb) Fixed bug #76735 (Incorrect message in fopen on invalid mode). (cmb)
Tidy
Fixed bug #77040 (tidyNode::isHtml() is completely broken). (cmb)
← Previous release: PHP 7.4.11 Next release: PHP 7.4.13 →
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