summaryrefslogtreecommitdiff
path: root/ext/standard/tests/file/fscanf.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/file/fscanf.phpt')
-rw-r--r--ext/standard/tests/file/fscanf.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/tests/file/fscanf.phpt b/ext/standard/tests/file/fscanf.phpt
index 6d3d0a5b96..7a5a70070e 100644
--- a/ext/standard/tests/file/fscanf.phpt
+++ b/ext/standard/tests/file/fscanf.phpt
@@ -3,7 +3,7 @@ fscanf() tests
--FILE--
<?php
-$filename = dirname(__FILE__)."/fscanf.dat";
+$filename = __DIR__."/fscanf.dat";
var_dump(fscanf());
var_dump(fscanf(array()));
@@ -60,7 +60,7 @@ echo "Done\n";
?>
--CLEAN--
<?php
-$filename = dirname(__FILE__)."/fscanf.dat";
+$filename = __DIR__."/fscanf.dat";
unlink($filename);
?>
--EXPECTF--