php-src/ext/phar/tests/zip/frontcontroller.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

14 lines
364 B
PHP

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