Lines Matching refs:phar
2 Phar: delete a file within a zip-based .phar (confirm disk file is changed)
4 <?php if (!extension_loaded("phar")) die("skip"); ?>
6 phar.readonly=0
7 phar.require_hash=0
11 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.zip';
12 $alias = 'phar://' . $fname;
14 $phar = new Phar($fname);
15 $phar['a.php'] = '<?php echo "This is a\n"; ?>';
16 $phar['b.php'] = '<?php echo "This is b\n"; ?>';
17 $phar['b/c.php'] = '<?php echo "This is b/c\n"; ?>';
18 $phar->setStub('<?php __HALT_COMPILER(); ?>');
19 $phar->stopBuffering();
41 include 'phar://' . dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.zip/a.php';
42 include 'phar://' . dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.zip/b.php';
43 include 'phar://' . dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.zip/b/c.php';
48 <?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.zip'); ?>
57 …e_in_phar_confirm.phar.zip/b/c.php): failed to open stream: phar error: "b/c.php" is not a file in…
59 Warning: include(): Failed opening 'phar://%sdelete_in_phar_confirm.phar.zip/b/c.php' for inclusion…