]> granicus.if.org Git - php/commitdiff
Add UPGRADING note for stream_read() change
authorNikita Popov <nikita.ppv@gmail.com>
Wed, 30 Oct 2019 10:31:28 +0000 (11:31 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Wed, 30 Oct 2019 10:31:43 +0000 (11:31 +0100)
Ref bug #78575.

[ci skip]

UPGRADING

index e648f78e805521f28038b01034a44422a3f90aba..4edbfaa57b02db5c6e99688b29679f69d7ab6678 100644 (file)
--- 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: