summaryrefslogtreecommitdiff
path: root/ext/phar/tests/pharfileinfo_destruct.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/phar/tests/pharfileinfo_destruct.phpt')
-rw-r--r--ext/phar/tests/pharfileinfo_destruct.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/phar/tests/pharfileinfo_destruct.phpt b/ext/phar/tests/pharfileinfo_destruct.phpt
index dc3917d2df..2de67473aa 100644
--- a/ext/phar/tests/pharfileinfo_destruct.phpt
+++ b/ext/phar/tests/pharfileinfo_destruct.phpt
@@ -6,7 +6,7 @@ Phar: PharFileInfo::__destruct
phar.readonly=0
--FILE--
<?php
-$fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar';
+$fname = __DIR__ . '/' . basename(__FILE__, '.php') . '.phar';
$pname = 'phar://' . $fname;
$a = new Phar($fname);
@@ -20,6 +20,6 @@ unset($b);
?>
===DONE===
--CLEAN--
-<?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar'); ?>
+<?php unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.phar'); ?>
--EXPECT--
===DONE===