summaryrefslogtreecommitdiff
path: root/ext/standard/tests/file/fgets_variation3.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/fgets_variation3.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/fgets_variation3.phpt')
-rw-r--r--ext/standard/tests/file/fgets_variation3.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/tests/file/fgets_variation3.phpt b/ext/standard/tests/file/fgets_variation3.phpt
index 4f0364132a..b39ba0c6af 100644
--- a/ext/standard/tests/file/fgets_variation3.phpt
+++ b/ext/standard/tests/file/fgets_variation3.phpt
@@ -36,7 +36,7 @@ foreach($file_modes as $file_mode) {
}
echo "-- fgets() with default length, file pointer at 0 --\n";
- // get the file pointer to begining of the file
+ // get the file pointer to beginning of the file
rewind($file_handle);
var_dump( ftell($file_handle) );
@@ -45,7 +45,7 @@ foreach($file_modes as $file_mode) {
var_dump( feof($file_handle) ); // enusre if eof set
echo "-- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --\n";
- // get the file pointer to begining of the file
+ // get the file pointer to beginning of the file
rewind($file_handle);
var_dump( ftell($file_handle) );