summaryrefslogtreecommitdiff
path: root/ext/phar/tests/021.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/phar/tests/021.phpt')
-rw-r--r--ext/phar/tests/021.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/phar/tests/021.phpt b/ext/phar/tests/021.phpt
index 010136f779..9a87f04fe1 100644
--- a/ext/phar/tests/021.phpt
+++ b/ext/phar/tests/021.phpt
@@ -6,7 +6,7 @@ Phar: stream stat
phar.require_hash=0
--FILE--
<?php
-$fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php';
+$fname = __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.php';
$pname = 'phar://' . $fname;
$file = "<?php
Phar::mapPhar('hio');
@@ -27,7 +27,7 @@ var_dump(fstat($fp));
fclose($fp);
?>
--CLEAN--
-<?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.php'); ?>
+<?php unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.phar.php'); ?>
--EXPECTF--
array(26) {
[0]=>