Lines Matching refs:phar
4 <?php if (!extension_loaded("phar")) die("skip"); ?>
7 phar.readonly=0
8 phar.require_hash=0
11 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php';
12 $pname = 'phar://' . $fname;
22 $phar = new Phar($fname);
25 var_dump($phar['a']->isCompressed());
27 var_dump($phar['b']->isCompressed());
29 var_dump($phar['c']->isCompressed());
31 $context = stream_context_create(array('phar'=>array('compress'=>Phar::GZ)));
38 $phar = new Phar($fname);
40 var_dump($phar['a']->isCompressed());
42 var_dump($phar['b']->isCompressed());
44 var_dump($phar['c']->isCompressed());
46 var_dump($phar['d']->isCompressed());
48 var_dump($phar['e']->isCompressed());
54 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.php');