From: Nikita Popov Date: Wed, 30 Oct 2019 10:31:28 +0000 (+0100) Subject: Add UPGRADING note for stream_read() change X-Git-Tag: php-7.4.7RC1~542 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c76dbefe05d8ef9e0d09205d94a7e3d1fc2b4b80;p=php Add UPGRADING note for stream_read() change Ref bug #78575. [ci skip] --- diff --git a/UPGRADING b/UPGRADING index e648f78e80..4edbfaa57b 100644 --- a/UPGRADING +++ b/UPGRADING @@ -153,6 +153,9 @@ PHP 7.4 UPGRADE NOTES considered failures. . fread() and fwrite() on plain files will now throw a notice on failure, such as when trying to write to a read-only file resource. + . The stream_read() and stream_write() methods on stream wrappers now + interpret "false" as a failure return values. If no data is available, but + no error occurred, an empty string should be returned instead. . round(-0.0) will now return -0.0 rather than +0.0. - Tokenizer: