summaryrefslogtreecommitdiff
path: root/ext/standard/tests/file/007_variation2.phpt
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2013-06-10 14:20:18 -0700
committerStanislav Malyshev <stas@php.net>2013-06-10 14:30:59 -0700
commit02e4d7a290ae437688b3a3d114621a1d32444560 (patch)
treeab3b9d2387ac6914ab7dd68afda87134d3b81e4b /ext/standard/tests/file/007_variation2.phpt
parentec790753948d190db354cbce97786b4a1aac63fc (diff)
downloadphp-git-02e4d7a290ae437688b3a3d114621a1d32444560.tar.gz
Merge branch 'pull-request/341'
* pull-request/341: (23 commits) typofixes
Diffstat (limited to 'ext/standard/tests/file/007_variation2.phpt')
-rw-r--r--ext/standard/tests/file/007_variation2.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/tests/file/007_variation2.phpt b/ext/standard/tests/file/007_variation2.phpt
index 4c883ea32c..deb51266ee 100644
--- a/ext/standard/tests/file/007_variation2.phpt
+++ b/ext/standard/tests/file/007_variation2.phpt
@@ -30,7 +30,7 @@ echo "*** Test fopen() & fclose() functions: with 'r+' mode ***\n";
$file_handle = fopen($file, "r+"); //opening the file in "r+" mode
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( fread($file_handle, 100) ); //Check for read operation
var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the end of the file
var_dump( fwrite($file_handle, $string) ); //Check for write operation; passes; expected:size of the $string