Skip to content

Commit c76dbef

Browse files
committed
Add UPGRADING note for stream_read() change
Ref bug #78575. [ci skip]
1 parent 447f07c commit c76dbef

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

UPGRADING

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,9 @@ PHP 7.4 UPGRADE NOTES
153153
considered failures.
154154
. fread() and fwrite() on plain files will now throw a notice on failure,
155155
such as when trying to write to a read-only file resource.
156+
. The stream_read() and stream_write() methods on stream wrappers now
157+
interpret "false" as a failure return values. If no data is available, but
158+
no error occurred, an empty string should be returned instead.
156159
. round(-0.0) will now return -0.0 rather than +0.0.
157160

158161
- Tokenizer:

0 commit comments

Comments
 (0)