]> granicus.if.org Git - php/commitdiff
- Easy debugging
authorMarcus Boerger <helly@php.net>
Tue, 9 Jan 2007 01:32:09 +0000 (01:32 +0000)
committerMarcus Boerger <helly@php.net>
Tue, 9 Jan 2007 01:32:09 +0000 (01:32 +0000)
ext/phar/tests/create_new_and_modify.phpt

index 7a2fb9eb38ba492d15fcaa728bde198cefaec1f7..445c256c335c5d81fa3fd988217ac82dbcf55511 100755 (executable)
@@ -10,6 +10,9 @@ phar.require_hash=1
 
 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php';
 $pname = 'phar://' . $fname;
+
+@unlink($fname);
+
 file_put_contents($pname . '/a.php', 'brand new!\n');
 
 $phar = new Phar($fname);