Lines Matching refs:php
4 <?php if (!extension_loaded("phar")) die("skip"); ?>
5 <?php if (version_compare(PHP_VERSION, "5.3", ">")) die("skip requires 5.2 or earlier"); ?>
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"; ?>';
27 $fp = fopen($pname . '/b/new.php', 'wb');
30 include $pname . '/b/c.php';
31 include $pname . '/b/new.php';
36 <?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.php'); ?>
39 ….php/b/new.php): failed to open stream: phar error: write operations disabled by the php.ini setti…
41 …: supplied argument is not a valid stream resource in %sopen_for_write_newfile_b_5_2.php on line %d
43 …: supplied argument is not a valid stream resource in %sopen_for_write_newfile_b_5_2.php on line %d
46 …php/b/new.php): failed to open stream: phar error: "b/new.php" is not a file in phar "%sopen_for_w…
48 …pen_for_write_newfile_b_5_2.phar.php/b/new.php' for inclusion (include_path='%s') in %sopen_for_wr…