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