1<?php
2@unlink(dirname(__FILE__) . '/frontcontroller4.phar');
3$a = new Phar(dirname(__FILE__) . '/frontcontroller4.phar');
4$a['a.php'] = 'hio';
5$a['a.jpg'] = 'hio';
6$a['a.phps'] = '<?php function hio(){}';
7$a->setStub('<?php
8function s($a)
9{
10    static $b = array(b"/hi" => false);
11    if (isset($b[$a])) return $b[$a];
12    return $a;
13}
14Phar::webPhar("whatever", "index.php", null, array(), "s");
15echo "oops did not run\n";
16var_dump($_ENV, $_SERVER);
17__HALT_COMPILER();');
18?>
19