Lines Matching refs:php
4 <?php if (!extension_loaded("phar")) die("skip"); ?>
9 <?php
10 include dirname(__FILE__) . '/files/tarmaker.php.inc';
11 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.tar';
16 $tar->addFile('.phar/stub.php', "<?php __HALT_COMPILER(); ?>");
20 $files['a.php'] = '<?php echo "This is a\n"; ?>';
21 $files['b.php'] = '<?php echo "This is b\n"; ?>';
22 $files['b/c.php'] = '<?php echo "This is b/c\n"; ?>';
31 $fp = fopen($alias . '/b/c.php', 'wb');
36 $b = fopen($alias . '/b/c.php', 'rb');
37 $a = $phar['b/c.php'];
42 unlink($alias . '/b/c.php');
45 include $alias . '/b/c.php';
51 <?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.tar'); ?>
56 string(%d) "phar://%srefcount1.phar.tar/b/c.php"
58 string(%d) "c.php"
63 …g: unlink(): phar error: "b/c.php" in phar "%srefcount1.phar.tar", has open file pointers, cannot …
66 string(%d) "phar://%srefcount1.phar.tar/b/c.php"
68 string(%s) "c.php"