Lines Matching refs:phar
4 <?php if (!extension_loaded("phar")) die("skip"); ?>
8 phar.readonly=0
11 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar';
12 $pname = 'phar://' . $fname;
14 $phar = new Phar($fname);
16 $phar['a/b'] = 'hi there';
18 $b = $phar['a/b'];
31 $tar = $phar->convertToData(Phar::TAR);
40 $phar['a']->compress(Phar::GZ);
44 ini_set('phar.readonly', 1);
50 ini_set('phar.readonly', 0);
58 ini_set('phar.readonly', 1);
60 $phar['a/b']->decompress();
64 ini_set('phar.readonly', 0);
66 $phar['a']->decompress();
76 <?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar'); ?>
82 Cannot compress with Gzip compression, not possible with tar-based phar archives