summaryrefslogtreecommitdiff
path: root/ext/phar/tests/024.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/phar/tests/024.phpt')
-rw-r--r--ext/phar/tests/024.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/phar/tests/024.phpt b/ext/phar/tests/024.phpt
index ad30d2644d..8ec0911e74 100644
--- a/ext/phar/tests/024.phpt
+++ b/ext/phar/tests/024.phpt
@@ -6,7 +6,7 @@ Phar: phar:// include
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 __HALT_COMPILER(); ?>";
@@ -24,7 +24,7 @@ include $pname . '/b/c.php';
?>
===DONE===
--CLEAN--
-<?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.php'); ?>
+<?php unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.phar.php'); ?>
--EXPECT--
This is a
This is b