Lines Matching refs:phar
4 <?php if (!extension_loaded("phar")) die("skip"); ?>
6 phar.require_hash=0
7 phar.readonly=0
10 $fname2 = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.2.phar.tar.php';
11 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.tar.php';
12 $pname = 'phar://' . $fname;
13 $pname2 = 'phar://' . $fname2;
22 $phar = new Phar($fname);
23 echo $phar->getStub();
28 $phar->setStub($file);
29 echo $phar->getStub();
39 $phar->setStub($fp);
42 echo $phar->getStub();
52 $phar->setStub($fp, strlen($file));
54 echo $phar->getStub();
56 $phar['testing'] = 'hi';
58 echo $phar->getStub();
63 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.tar.php');
64 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.2.phar.tar.php');