diff options
Diffstat (limited to 'ext/standard/tests/file/fgets_variation1.phpt')
-rw-r--r-- | ext/standard/tests/file/fgets_variation1.phpt | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/ext/standard/tests/file/fgets_variation1.phpt b/ext/standard/tests/file/fgets_variation1.phpt index b4f7ad5a0e..50856df2e0 100644 --- a/ext/standard/tests/file/fgets_variation1.phpt +++ b/ext/standard/tests/file/fgets_variation1.phpt @@ -48,12 +48,14 @@ foreach ($file_modes as $file_mode ) { echo "Done\n"; ?> ---EXPECT-- +--EXPECTF-- *** Testing fgets() with file opened in write only mode *** -- File opened in mode : w -- bool(true) int(0) bool(false) + +Notice: fgets(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d bool(false) int(0) bool(false) @@ -61,6 +63,8 @@ bool(false) bool(true) int(0) bool(false) + +Notice: fgets(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d bool(false) int(0) bool(false) @@ -68,6 +72,8 @@ bool(false) bool(true) int(0) bool(false) + +Notice: fgets(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d bool(false) int(0) bool(false) @@ -75,6 +81,8 @@ bool(false) bool(true) int(0) bool(false) + +Notice: fgets(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d bool(false) int(0) bool(false) @@ -82,6 +90,8 @@ bool(false) bool(true) int(0) bool(false) + +Notice: fgets(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d bool(false) int(0) bool(false) @@ -89,6 +99,8 @@ bool(false) bool(true) int(0) bool(false) + +Notice: fgets(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d bool(false) int(0) bool(false) @@ -96,6 +108,8 @@ bool(false) bool(true) int(0) bool(false) + +Notice: fgets(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d bool(false) int(0) bool(false) @@ -103,6 +117,8 @@ bool(false) bool(true) int(0) bool(false) + +Notice: fgets(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d bool(false) int(0) bool(false) @@ -110,6 +126,8 @@ bool(false) bool(true) int(0) bool(false) + +Notice: fgets(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d bool(false) int(0) bool(false) |