File tree Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,8 @@ PHP NEWS
27
27
28
28
- Standard:
29
29
. 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)
30
32
31
33
11 Jul 2019, PHP 7.4.0alpha3
32
34
Original file line number Diff line number Diff line change @@ -139,6 +139,9 @@ PHP 7.4 UPGRADE NOTES
139
139
warning) if it is used with an encoding for which only basic entity
140
140
substitution is supported, in which case it is equivalent to
141
141
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.
142
145
143
146
- Tokenizer:
144
147
. token_get_all() will now emit a T_BAD_CHARACTER token for unexpected
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ PHP 7.4 INTERNALS UPGRADE NOTES
25
25
v. Compound assignment opcodes
26
26
w. APACHE symbol removed
27
27
x. php_error_docref0() renamed to php_error_docref()
28
+ y. Stream wrapper read/write ops
28
29
29
30
2. Build system changes
30
31
a. Abstract
@@ -225,6 +226,9 @@ PHP 7.4 INTERNALS UPGRADE NOTES
225
226
226
227
x. php_error_docref0() has been removed and renamed to php_error_docref().
227
228
229
+ y. The read and write operations of php_stream_ops now return ssize_t, with
230
+ negative values indicating an error.
231
+
228
232
========================
229
233
2. Build system changes
230
234
========================
You can’t perform that action at this time.
0 commit comments