summaryrefslogtreecommitdiff
path: root/ext/phar/tests/phar_oo_uncompressall.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/phar/tests/phar_oo_uncompressall.phpt')
-rw-r--r--ext/phar/tests/phar_oo_uncompressall.phpt6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/phar/tests/phar_oo_uncompressall.phpt b/ext/phar/tests/phar_oo_uncompressall.phpt
index d5d392d14d..f669f5e8ca 100644
--- a/ext/phar/tests/phar_oo_uncompressall.phpt
+++ b/ext/phar/tests/phar_oo_uncompressall.phpt
@@ -8,7 +8,7 @@ phar.require_hash=0
phar.readonly=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(); ?>';
@@ -52,8 +52,8 @@ var_dump($phar['a']->isCompressed());
===DONE===
--CLEAN--
<?php
-unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar');
-unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.php');
+unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.phar');
+unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.phar.php');
?>
--EXPECT--
string(1) "a"