1<?php
2@unlink(dirname(__FILE__) . '/frontcontroller18.phar');
3$a = new Phar(dirname(__FILE__) . '/frontcontroller18.phar');
4$a['index.php'] = '<?php
5echo "hi";
6';
7$a->setStub('<?php
8function s($a)
9{
10}
11try {
12Phar::webPhar("test.phar", "/index.php", null, array(), "s");
13} catch (Exception $e) {
14die($e->getMessage() . "\n");
15}
16echo "oops did not run\n";
17var_dump($_ENV, $_SERVER);
18__HALT_COMPILER();');
19?>
20