com php-src: Add UPGRADING note for stream_read() chang e: UPGRADING

From: Date: Wed, 30 Oct 2019 10:31:43 +0000
Subject: com php-src: Add UPGRADING note for stream_read() chang e: UPGRADING
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-109137@lists.php.net to get a copy of this message
Commit: c76dbefe05d8ef9e0d09205d94a7e3d1fc2b4b80 Author: Nikita Popov <nikita.ppv@gmail.com> Wed, 30 Oct 2019 11:31:28 +0100 Parents: 447f07cd28494caf6c9f08640bc6d355f93ed2f2 Branches: PHP-7.4 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=c76dbefe05d8ef9e0d09205d94a7e3d1fc2b4b80 Log: Add UPGRADING note for stream_read() change Ref bug #78575. [ci skip] Bugs: https://bugs.php.net/78575 Changed paths: M UPGRADING Diff: diff --git a/UPGRADING b/UPGRADING index e648f78e805..4edbfaa57b0 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:

« previous php.cvs (#109137) next »