summaryrefslogtreecommitdiff
path: root/ext/standard/tests/file/fgets_variation1.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/file/fgets_variation1.phpt')
-rw-r--r--ext/standard/tests/file/fgets_variation1.phpt8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/standard/tests/file/fgets_variation1.phpt b/ext/standard/tests/file/fgets_variation1.phpt
index a51ca6c81c..3e7eba9fb1 100644
--- a/ext/standard/tests/file/fgets_variation1.phpt
+++ b/ext/standard/tests/file/fgets_variation1.phpt
@@ -11,7 +11,7 @@ Test fgets() function : usage variations - write only modes (Bug #42036)
a, ab, at,
x, xb, xt
*/
-// include the header for common test function
+// include the header for common test function
include ("file.inc");
echo "*** Testing fgets() with file opened in write only mode ***\n";
@@ -30,8 +30,8 @@ foreach ($file_modes as $file_mode ) {
fwrite($file_handle, $data);
// rewind the file pointer to beginning of the file
- var_dump( rewind($file_handle) );
- var_dump( ftell($file_handle) );
+ var_dump( rewind($file_handle) );
+ var_dump( ftell($file_handle) );
var_dump( feof($file_handle) );
// read from file
@@ -43,7 +43,7 @@ foreach ($file_modes as $file_mode ) {
fclose($file_handle);
// delete the file
- unlink($filename);
+ unlink($filename);
}
echo "Done\n";