summaryrefslogtreecommitdiff
path: root/ext/phar/tests/zip/delete.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/phar/tests/zip/delete.phpt')
-rw-r--r--ext/phar/tests/zip/delete.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/phar/tests/zip/delete.phpt b/ext/phar/tests/zip/delete.phpt
index bd2ce5fffa..87536c9666 100644
--- a/ext/phar/tests/zip/delete.phpt
+++ b/ext/phar/tests/zip/delete.phpt
@@ -8,7 +8,7 @@ phar.require_hash=0
--FILE--
<?php
-$fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.zip';
+$fname = __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.zip';
$alias = 'phar://' . $fname;
$file = "<?php
Phar::mapPhar('hio');
@@ -24,7 +24,7 @@ $phar->delete('a');
echo file_get_contents($alias . '/a') . "\n";
?>
--CLEAN--
-<?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.zip'); ?>
+<?php unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.phar.zip'); ?>
--EXPECTF--
a