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
12 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.zip';
16 $phar->setStub('<?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/new.php', 'wb');
35 include $alias . '/b/c.php';
36 include $alias . '/b/new.php';
41 <?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.zip'); ?>
44 …b/new.php): failed to open stream: phar error: write operations disabled by the php.ini setting ph…
46 …: supplied argument is not a valid stream resource in %sopen_for_write_newfile_c_5_2.php on line %d
48 …: supplied argument is not a valid stream resource in %sopen_for_write_newfile_c_5_2.php on line %d
51 …php): failed to open stream: phar error: "b/new.php" is not a file in phar "%sopen_for_write_newfi…
53 …or_write_newfile_c_5_2.phar.zip/b/new.php' for inclusion (include_path='%s') in %sopen_for_write_n…