Lines Matching refs:phar
4 <?php if (!extension_loaded("phar")) die("skip"); ?>
6 phar.require_hash=0
7 phar.readonly=0
10 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar';
12 $phar = new Phar($fname, 0, 'a.phar');
13 $phar['x'] = 'hi';
14 unset($phar);
15 rename("phar://a.phar/x", "phar://a.phar/y");
16 var_dump(rename("phar://a.phar/x", "phar://a.phar/y"));
20 <?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar');?>
22 Warning: rename(): phar error: cannot rename "phar://a.phar/x" to "phar://a.phar/y" from extracted …