Lines Matching refs:phar
5 if (!extension_loaded("phar")) die("skip");
9 phar.require_hash=0
10 phar.readonly=0
13 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php';
14 $pname = 'phar://' . $fname;
28 $phar = new Phar($fname);
29 $phar['a']->setMetadata(42);
30 $phar['b']->setMetadata(NULL);
31 $phar['c']->setMetadata(array(25, 'foo'=>'bar'));
32 $phar['d']->setMetadata(true);
35 var_dump($phar[$name]->getMetadata());
38 unset($phar);
46 <?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.php'); ?>