php-src/ext/phar/tests/zip/frontcontroller2.phar.inc
Greg Beaver b93b48663d complete set of new tests for zip-based phars (need to test compression for zip-based phars)
fix a whole bunch of zip-related bugs
tar tests need some naming
add phar information to error messages, fix existing tests to reflect this
2008-01-08 07:08:46 +00:00

13 lines
347 B
PHP

<?php
@unlink(dirname(__FILE__) . '/frontcontroller2.phar.zip');
$a = new Phar(dirname(__FILE__) . '/frontcontroller2.phar.zip');
$a['a.php'] = 'hio';
$a['a.jpg'] = 'hio';
$a['a.phps'] = '<?php function hio(){}';
$a->setStub('<?php
Phar::webPhar("whatever", "a.php");
echo "oops did not run\n";
var_dump($_ENV, $_SERVER);
__HALT_COMPILER();');
?>