Skip to content

Commit 8a4171a

Browse files
committed
Add UPGRADING note about stream_set_option() and includes
[ci skip]
1 parent fc17bfa commit 8a4171a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

UPGRADING

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ PHP 7.4 UPGRADE NOTES
3838
interpreted as an opening PHP tag. Previously it was interpreted either as
3939
`<? php` and resulted in a syntax error (with short_open_tag=1) or was
4040
interpreted as a literal `<?php` string (with short_open_tag=0).
41+
. When using include/require on a stream, stream_set_option() will be invoked
42+
with the STREAM_OPTION_READ_BUFFER option. Custom stream wrapper
43+
implementations may need to implement the stream_set_option() method to
44+
avoid a warning (always returning false is a sufficient implementation).
4145

4246
- BCMath:
4347
. BCMath functions will now warn if a non well-formed number is passed, such

0 commit comments

Comments
 (0)