Software 42837 Published by

PHP 7.4.22 is now available on GitHub.





PHP 7.4.22

- 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)

PhP

Download PHP 7.4.22