summaryrefslogtreecommitdiff
path: root/ext/standard/tests/file/fileowner_basic.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/file/fileowner_basic.phpt')
-rw-r--r--ext/standard/tests/file/fileowner_basic.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/tests/file/fileowner_basic.phpt b/ext/standard/tests/file/fileowner_basic.phpt
index 63ac59680e..9bb0827ec8 100644
--- a/ext/standard/tests/file/fileowner_basic.phpt
+++ b/ext/standard/tests/file/fileowner_basic.phpt
@@ -15,7 +15,7 @@ var_dump( fileowner(".") );
var_dump( fileowner("./..") );
/* Newly created files and dirs */
-$file_path = dirname(__FILE__);
+$file_path = __DIR__;
$file_name = $file_path."/fileowner_basic.tmp";
$file_handle = fopen($file_name, "w");
$string = "Hello, world\n1234\n123Hello";
@@ -31,7 +31,7 @@ echo "*** Done ***\n";
?>
--CLEAN--
<?php
-$file_path = dirname(__FILE__);
+$file_path = __DIR__;
$file_name = $file_path."/fileowner_basic.tmp";
$dir_name = $file_path."/fileowner_basic";
unlink($file_name);