Skip to content

Commit 845d07b

Browse files
committed
Add upgrading entries
[ci skip]
1 parent 5664035 commit 845d07b

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ PHP NEWS
2727

2828
- Standard:
2929
. Fixed bug #78282 (atime and mtime mismatch). (cmb)
30+
. Fixed bug #73535 (php_sockop_write() returns 0 on error, can be used to
31+
trigger Denial of Service). (Nikita)
3032

3133
11 Jul 2019, PHP 7.4.0alpha3
3234

UPGRADING

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,9 @@ PHP 7.4 UPGRADE NOTES
139139
warning) if it is used with an encoding for which only basic entity
140140
substitution is supported, in which case it is equivalent to
141141
htmlspecialchars().
142+
. fread() and fwrite() will now return false if the operation failed.
143+
Previously an empty string or 0 was returned. EAGAIN/EWOULDBLOCK are not
144+
considered failures.
142145

143146
- Tokenizer:
144147
. token_get_all() will now emit a T_BAD_CHARACTER token for unexpected

UPGRADING.INTERNALS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ PHP 7.4 INTERNALS UPGRADE NOTES
2525
v. Compound assignment opcodes
2626
w. APACHE symbol removed
2727
x. php_error_docref0() renamed to php_error_docref()
28+
y. Stream wrapper read/write ops
2829

2930
2. Build system changes
3031
a. Abstract
@@ -225,6 +226,9 @@ PHP 7.4 INTERNALS UPGRADE NOTES
225226

226227
x. php_error_docref0() has been removed and renamed to php_error_docref().
227228

229+
y. The read and write operations of php_stream_ops now return ssize_t, with
230+
negative values indicating an error.
231+
228232
========================
229233
2. Build system changes
230234
========================

0 commit comments

Comments
 (0)