summaryrefslogtreecommitdiff
path: root/ext/phar/tests/033.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/phar/tests/033.phpt')
-rw-r--r--ext/phar/tests/033.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/phar/tests/033.phpt b/ext/phar/tests/033.phpt
index a0b1f659f5..9beb281912 100644
--- a/ext/phar/tests/033.phpt
+++ b/ext/phar/tests/033.phpt
@@ -7,7 +7,7 @@ phar.readonly=0
phar.require_hash=0
--FILE--
<?php
-$fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.1.phar.php';
+$fname = __DIR__ . '/' . basename(__FILE__, '.php') . '.1.phar.php';
$pname = 'phar://hio';
$file = '<?php include "' . $pname . '/a.php"; __HALT_COMPILER(); ?>';
@@ -33,7 +33,7 @@ var_dump($a['dir']->isReadable());
===DONE===
--CLEAN--
<?php
-unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.1.phar.php');
+unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.1.phar.php');
?>
--EXPECT--
bool(false)