Lines Matching refs:phar
2 Phar: tar-based phar, make new gzipped tar
4 <?php if (!extension_loaded('phar')) die('skip'); ?>
8 phar.readonly=0
12 $fname = dirname(__FILE__) . '/tar_makegz.phar.tar';
13 $fname2 = dirname(__FILE__) . '/tar_makegz.phar.tar.gz';
14 $fname3 = dirname(__FILE__) . '/tar_makegz_b.phar.tar.gz';
16 $phar = new Phar($fname);
17 $phar['test'] = 'hi';
18 var_dump($phar->isFileFormat(Phar::TAR));
19 $phar = $phar->compress(Phar::GZ);
32 @unlink(dirname(__FILE__) . '/tar_makegz.phar.gz');
33 @unlink(dirname(__FILE__) . '/tar_makegz.phar.tar');
34 @unlink(dirname(__FILE__) . '/tar_makegz.phar.tar.gz');
35 @unlink(dirname(__FILE__) . '/tar_makegz_b.phar.tar.gz');