Lines Matching refs:php
4 <?php if (!extension_loaded("phar")) die("skip"); ?>
5 <?php if (!extension_loaded("spl")) die("skip SPL not available"); ?>
10 <?php
11 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php';
13 $file = "<?php __HALT_COMPILER(); ?>";
16 $files['a.php'] = '<?php echo "This is a\n"; ?>';
17 $files['b.php'] = '<?php echo "This is b\n"; ?>';
18 $files['b/c.php'] = '<?php echo "This is b/c\n"; ?>';
21 $fp = fopen($pname . '/b/c.php', 'wb');
26 $b = fopen($pname . '/b/c.php', 'rb');
27 $a = $p['b/c.php'];
32 unlink($pname . '/b/c.php');
35 include $pname . '/b/c.php';
40 <?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.php'); ?>
45 string(%d) "phar://%srefcount1.phar.php/b/c.php"
47 string(%d) "c.php"
52 …g: unlink(): phar error: "b/c.php" in phar "%srefcount1.phar.php", has open file pointers, cannot …
55 string(%d) "phar://%srefcount1.phar.php/b/c.php"
57 string(%s) "c.php"