Lines Matching refs:php
4 <?php if (!extension_loaded("phar")) die("skip"); ?>
5 <?php if (!extension_loaded("spl")) die("skip SPL not available"); ?>
6 <?php if (version_compare(PHP_VERSION, "5.3", "<")) die("skip requires 5.3 or later"); ?>
11 <?php
12 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php';
14 $file = b"<?php __HALT_COMPILER(); ?>";
17 $files['a.php'] = '<?php echo "This is a\n"; ?>';
18 $files['b.php'] = '<?php echo "This is b\n"; ?>';
19 $files['b/c.php'] = '<?php echo "This is b/c\n"; ?>';
22 $fp = fopen($pname . '/b/c.php', 'wb');
27 $b = fopen($pname . '/b/c.php', 'rb');
28 $a = $p['b/c.php'];
33 unlink($pname . '/b/c.php');
36 include $pname . '/b/c.php';
41 <?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.php'); ?>
46 string(%d) "phar://%srefcount1.phar.php/b/c.php"
48 string(%d) "c.php"
53 …g: unlink(): phar error: "b/c.php" in phar "%srefcount1.phar.php", has open file pointers, cannot …
56 string(%d) "phar://%srefcount1.phar.php/b/c.php"
58 string(%s) "c.php"