summaryrefslogtreecommitdiff
path: root/ext/standard/tests/file/007_variation24.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/file/007_variation24.phpt')
-rw-r--r--ext/standard/tests/file/007_variation24.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/tests/file/007_variation24.phpt b/ext/standard/tests/file/007_variation24.phpt
index 41fc24cbe..d898ba7b5 100644
--- a/ext/standard/tests/file/007_variation24.phpt
+++ b/ext/standard/tests/file/007_variation24.phpt
@@ -28,7 +28,7 @@ echo "*** Test fopen() & fclose() functions: with 'x+b' mode ***\n";
$file_handle = fopen($file, "x+b"); //opening the non-existing file in "x+b" mode, file will be created
var_dump($file_handle); //Check for the content of handle
var_dump( get_resource_type($file_handle) ); //Check for the type of resource
-var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the begining of the file
+var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the file
var_dump( fwrite($file_handle, $string) ); //Check for write operation; passes; expected:size of the $string
var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the end of the file
rewind($file_handle);