summaryrefslogtreecommitdiff
path: root/ext/standard/tests/file/fscanf_variation32.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/file/fscanf_variation32.phpt')
-rw-r--r--ext/standard/tests/file/fscanf_variation32.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/tests/file/fscanf_variation32.phpt b/ext/standard/tests/file/fscanf_variation32.phpt
index b9fb3a286f..36f3f56881 100644
--- a/ext/standard/tests/file/fscanf_variation32.phpt
+++ b/ext/standard/tests/file/fscanf_variation32.phpt
@@ -10,7 +10,7 @@ Test fscanf() function: usage variations - octal formats with boolean
/* Test fscanf() to scan boolean data using different octal format types */
-$file_path = dirname(__FILE__);
+$file_path = __DIR__;
echo "*** Test fscanf(): different octal format types with boolean data ***\n";
@@ -67,7 +67,7 @@ echo "\n*** Done ***";
?>
--CLEAN--
<?php
-$file_path = dirname(__FILE__);
+$file_path = __DIR__;
$filename = "$file_path/fscanf_variation32.tmp";
unlink($filename);
?>