Commit db480d7
committed
main/streams/streams: check php_stream_eof() before php_stream_read()
This eliminates the last redundant read() system call in every
file_get_contents() call.1 parent e45f829 commit db480d7
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1517 | 1517 | | |
1518 | 1518 | | |
1519 | 1519 | | |
1520 | | - | |
| 1520 | + | |
1521 | 1521 | | |
1522 | 1522 | | |
1523 | 1523 | | |
| |||
0 commit comments