summaryrefslogtreecommitdiff
path: root/ext/standard/tests/file/fscanf_variation9.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/file/fscanf_variation9.phpt')
-rw-r--r--ext/standard/tests/file/fscanf_variation9.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/tests/file/fscanf_variation9.phpt b/ext/standard/tests/file/fscanf_variation9.phpt
index d1218c8a55..40470db064 100644
--- a/ext/standard/tests/file/fscanf_variation9.phpt
+++ b/ext/standard/tests/file/fscanf_variation9.phpt
@@ -16,7 +16,7 @@ if (PHP_INT_SIZE != 4) {
/* Test fscanf() to scan integer values using different float format types */
-$file_path = dirname(__FILE__);
+$file_path = __DIR__;
echo "*** Test fscanf(): different float format types with integer values ***\n";
@@ -83,7 +83,7 @@ echo "\n*** Done ***";
?>
--CLEAN--
<?php
-$file_path = dirname(__FILE__);
+$file_path = __DIR__;
$filename = "$file_path/fscanf_variation9.tmp";
unlink($filename);
?>