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

PHP 7.4.22 came out on 29 July 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.22

All PHP 7.4 releases

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

Core

  • Fixed bug #81145 (copy() and stream_copy_to_stream() fail for +4GB files). (cmb, Nikita)
  • Fixed bug #81163 (incorrect handling of indirect vars in __sleep). (krakjoe)
  • Fixed bug #80728 (PHP built-in web server resets timeout when it can kill the process). (Calvin Buckley)
  • Fixed bug #73630 (Built-in Weberver - overwrite $_SERVER['request_uri']). (cmb)
  • Fixed bug #80173 (Using return value of zend_assign_to_variable() is not safe). (Nikita)
  • Fixed bug #73226 (--r[fcez] always return zero exit code). (cmb)

Intl

  • Fixed bug #72809 (Locale::lookup() wrong result with canonicalize option). (cmb)
  • Fixed bug #68471 (IntlDateFormatter fails for "GMT+00:00" timezone). (cmb)
  • Fixed bug #74264 (grapheme_strrpos() broken for negative offsets). (cmb)

OpenSSL

  • Fixed bug #52093 (openssl_csr_sign truncates $serial). (cmb)

PCRE

  • Fixed bug #81101 (PCRE2 10.37 shows unexpected result). (Anatol)
  • Fixed bug #81243 (Too much memory is allocated for preg_replace()). (cmb)

Standard

  • Fixed bug #81223 (flock() only locks first byte of file). (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