diff options
Diffstat (limited to 'ext/standard/tests/file/007_variation23.phpt')
-rw-r--r-- | ext/standard/tests/file/007_variation23.phpt | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/ext/standard/tests/file/007_variation23.phpt b/ext/standard/tests/file/007_variation23.phpt index eafa408eac..2d1d198d67 100644 --- a/ext/standard/tests/file/007_variation23.phpt +++ b/ext/standard/tests/file/007_variation23.phpt @@ -2,17 +2,6 @@ Test fopen and fclose() functions - usage variations - "xb" mode --FILE-- <?php -/* - fopen() function: - Prototype: resource fopen(string $filename, string $mode - [, bool $use_include_path [, resource $context]] ); - Description: Opens file or URL. -*/ -/* - fclose() function: - Prototype: bool fclose ( resource $handle ); - Description: Closes an open file pointer -*/ /* Test fopen() and fclose(): Opening the file in "xb" mode, checking for the file creation, write & read operations, @@ -50,11 +39,11 @@ int(0) int(37) int(37) -Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d +Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d bool(false) int(0) bool(true) string(7) "Unknown" -Warning: fopen(%s): failed to open stream: File exists in %s on line %d +Warning: fopen(%s): Failed to open stream: File exists in %s on line %d *** Done *** |