1<?php 2@unlink(dirname(__FILE__) . '/frontcontroller8.phar.zip'); 3$a = new Phar(dirname(__FILE__) . '/frontcontroller8.phar.zip'); 4$a['a.phps'] = 'hio1'; 5$a['a.jpg'] = 'hio2'; 6$a['a.php'] = '<?php function hio(){}'; 7$a['fronk.gronk'] = 'hio3'; 8$a->setStub('<?php 9Phar::webPhar("whatever", "index.php", null, array("jpg" => "foo/bar", "phps" => Phar::PHP, "php" => Phar::PHPS)); 10echo "oops did not run\n"; 11var_dump($_ENV, $_SERVER); 12__HALT_COMPILER();'); 13?> 14