summaryrefslogtreecommitdiff
path: root/ext/standard/tests/file/fscanf_variation1.phpt
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2018-10-14 17:45:48 +0200
committerPeter Kokot <peterkokot@gmail.com>2018-10-14 19:45:12 +0200
commit782352c54ad69c517e3c32b0dd2c25d74842647a (patch)
tree220bdc1e814e9f44b3578d49b3f239a3fdefa1d0 /ext/standard/tests/file/fscanf_variation1.phpt
parent604d4bdae5037e021c1f9d35f08cbeddd610d84c (diff)
downloadphp-git-782352c54ad69c517e3c32b0dd2c25d74842647a.tar.gz
Trim trailing whitespace in *.phpt
Diffstat (limited to 'ext/standard/tests/file/fscanf_variation1.phpt')
-rw-r--r--ext/standard/tests/file/fscanf_variation1.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/tests/file/fscanf_variation1.phpt b/ext/standard/tests/file/fscanf_variation1.phpt
index 64d778916f..e421792007 100644
--- a/ext/standard/tests/file/fscanf_variation1.phpt
+++ b/ext/standard/tests/file/fscanf_variation1.phpt
@@ -23,7 +23,7 @@ if($file_handle == false)
@fwrite($file_handle, 12345);
fclose($file_handle);
-// open file for reading
+// open file for reading
$file_handle = fopen($filename, "r");
// capturing the return value from fscanf() called without third argument
$return_value = fscanf($file_handle, "%s");
@@ -36,7 +36,7 @@ echo "\n*** Done ***";
<?php
$file_path = dirname(__FILE__);
$filename = "$file_path/fscanf_variation1.tmp";
-unlink($filename);
+unlink($filename);
?>
--EXPECT--
*** Testing fscanf(): for its return type without third argument ***