summaryrefslogtreecommitdiff
path: root/ext/phar/tests/zip/open_for_write_existing.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/phar/tests/zip/open_for_write_existing.phpt')
-rw-r--r--ext/phar/tests/zip/open_for_write_existing.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/phar/tests/zip/open_for_write_existing.phpt b/ext/phar/tests/zip/open_for_write_existing.phpt
index 94f85b4e3f..fd76d4174e 100644
--- a/ext/phar/tests/zip/open_for_write_existing.phpt
+++ b/ext/phar/tests/zip/open_for_write_existing.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;
$phar = new Phar($fname);
@@ -33,7 +33,7 @@ include $alias . '/b/c.php';
===DONE===
--CLEAN--
-<?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.zip'); ?>
+<?php unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.phar.zip'); ?>
--EXPECT--
extra
===DONE===