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

PHP 7.4.2 came out on 23 January 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.2

All PHP 7.4 releases

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

Core

  • Preloading support on Windows has been disabled. (Nikita)
  • Fixed bug #79022 (class_exists returns True for classes that are not ready to be used). (Laruence)
  • Fixed bug #78929 (plus signs in cookie values are converted to spaces). (Alexey Kachalin)
  • Fixed bug #78973 (Destructor during CV freeing causes segfault if opline never saved). (Nikita)
  • Fixed bug #78776 (Abstract method implementation from trait does not check "static"). (Nikita)
  • Fixed bug #78999 (Cycle leak when using function result as temporary). (Dmitry)
  • Fixed bug #79008 (General performance regression with PHP 7.4 on Windows). (cmb)
  • Fixed bug #79002 (Serializing uninitialized typed properties with __sleep makes unserialize throw). (Nikita)

CURL

  • Fixed bug #79033 (Curl timeout error with specific url and post). (cmb)
  • Fixed bug #79063 (curl openssl does not respect PKG_CONFIG_PATH). (Nikita)

Date

  • Fixed bug #79015 (undefined-behavior in php_date.c). (cmb)

DBA

  • Fixed bug #78808 ([LMDB] MDB_MAP_FULL: Environment mapsize limit reached). (cmb)

Exif

  • Fixed bug #79046 (NaN to int cast undefined behavior in exif). (Nikita)

Fileinfo

  • Fixed bug #74170 (locale information change after mime_content_type). (Sergei Turchanov)

GD

  • Fixed bug #79067 (gdTransformAffineCopy() may use unitialized values). (cmb)
  • Fixed bug #79068 (gdTransformAffineCopy() changes interpolation method). (cmb)

Libxml

  • Fixed bug #79029 (Use After Free's in XMLReader / XMLWriter). (Laruence)

OPcache

  • Fixed bug #78961 (erroneous optimization of re-assigned $GLOBALS). (Dmitry)
  • Fixed bug #78950 (Preloading trait method with static variables). (Nikita)
  • Fixed bug #78903 (Conflict in RTD key for closures results in crash). (Nikita)
  • Fixed bug #78986 (Opcache segfaults when inheriting ctor from immutable into mutable class). (Nikita)
  • Fixed bug #79040 (Warning Opcode handlers are unusable due to ASLR). (cmb)
  • Fixed bug #79055 (Typed property become unknown with OPcache file cache). (Nikita)

Pcntl

  • Fixed bug #78402 (Converting null to string in error message is bad DX). (SATŌ Kentarō)

PDO_PgSQL

  • Fixed bug #78983 (pdo_pgsql config.w32 cannot find libpq-fe.h). (SATŌ Kentarō)
  • Fixed bug #78980 (pgsqlGetNotify() overlooks dead connection). (SATŌ Kentarō)
  • Fixed bug #78982 (pdo_pgsql returns dead persistent connection). (SATŌ Kentarō)

Session

  • Fixed bug #79031 (Session unserialization problem). (Nikita)

Shmop

  • Fixed bug #78538 (shmop memory leak). (cmb)

Sqlite3

  • Fixed bug #79056 (sqlite does not respect PKG_CONFIG_PATH during compilation). (Nikita)

Spl

  • Fixed bug #78976 (SplFileObject::fputcsv returns -1 on failure). (cmb)

Standard

  • Fixed bug #79000 (Non-blocking socket stream reports EAGAIN as error). (Nikita)
  • Fixed bug #54298 (Using empty additional_headers adding extraneous CRLF). (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