PHP Release 7.4.2


PHP 7.4.2 Release Announcement

The PHP development team announces the immediate availability of PHP 7.4.2. This is a security release which also contains several bug fixes.

All PHP 7.4 users are encouraged to upgrade to this version.

For source downloads of PHP 7.4.2 please visit our downloads page, Windows source and binaries can be found on windows.php.net/download/. The list of changes is recorded in the ChangeLog.

Source Code
PHP 7.4.2 (tar.bz2)
SHA256: 02909974be9c70814ed5652a6bdae9c74220d41c1e5ed5ad921e15d028f8e816
PHP 7.4.2 (tar.gz)
SHA256: e1b8dbf561ac1d871362054ff4cd62dca5e19c8c896567996525dda7c4b320f9
PHP 7.4.2 (tar.xz)
SHA256: 98284deac017da0d426117ecae7599a1f1bf62ae3911e8bc16c4403a8f4bdf13
Change Logs
core
  • Preloading support on Windows has been disabled.
  • Fixed bug #79022 (class_exists returns True for classes that are not ready to be used).
  • Fixed bug #78929 (plus signs in cookie values are converted to spaces).
  • Fixed bug #78973 (Destructor during CV freeing causes segfault if opline never saved).
  • Fixed bug #78776 (Abstract method implementation from trait does not check "static").
  • Fixed bug #78999 (Cycle leak when using function result as temporary).
  • Fixed bug #79008 (General performance regression with PHP 7.4 on Windows).
  • Fixed bug #79002 (Serializing uninitialized typed properties with __sleep makes unserialize throw).
curl
  • Fixed bug #79033 (Curl timeout error with specific url and post).
  • Fixed bug #79063 (curl openssl does not respect PKG_CONFIG_PATH).
date
  • Fixed bug #79015 (undefined-behavior in php_date.c).
dba
  • Fixed bug #78808 ([LMDB] MDB_MAP_FULL: Environment mapsize limit reached).
exif
  • Fixed bug #79046 (NaN to int cast undefined behavior in exif).
fileinfo
  • Fixed bug #74170 (locale information change after mime_content_type).
gd
  • Fixed bug #79067 (gdTransformAffineCopy() may use unitialized values).
  • Fixed bug #79068 (gdTransformAffineCopy() changes interpolation method).
libxml
  • Fixed bug #79029 (Use After Free's in XMLReader / XMLWriter).
opcache
  • Fixed bug #78961 (erroneous optimization of re-assigned $GLOBALS).
  • Fixed bug #78950 (Preloading trait method with static variables).
  • Fixed bug #78903 (Conflict in RTD key for closures results in crash).
  • Fixed bug #78986 (Opcache segfaults when inheriting ctor from immutable into mutable class).
  • Fixed bug #79040 (Warning Opcode handlers are unusable due to ASLR).
  • Fixed bug #79055 (Typed property become unknown with OPcache file cache).
pcntl
  • Fixed bug #78402 (Converting null to string in error message is bad DX).
pdo_pgsql
  • Fixed bug #78983 (pdo_pgsql config.w32 cannot find libpq-fe.h).
  • Fixed bug #78980 (pgsqlGetNotify() overlooks dead connection).
  • Fixed bug #78982 (pdo_pgsql returns dead persistent connection).
session
  • Fixed bug #79031 (Session unserialization problem).
shmop
  • Fixed bug #78538 (shmop memory leak).
sqlite3
  • Fixed bug #79056 (sqlite does not respect PKG_CONFIG_PATH during compilation).
spl
  • Fixed bug #78976 (SplFileObject::fputcsv returns -1 on failure).
standard
  • Fixed bug #79000 (Non-blocking socket stream reports EAGAIN as error).
  • Fixed bug #54298 (Using empty additional_headers adding extraneous CRLF).
To Top