1<?php 2@unlink(dirname(__FILE__) . '/frontcontroller12.phar'); 3$a = new Phar(dirname(__FILE__) . '/frontcontroller12.phar'); 4$a['index.php'] = '<?php 5var_dump($_SERVER["PHP_SELF"]); 6var_dump($_SERVER["SCRIPT_NAME"]); 7var_dump($_SERVER["SCRIPT_FILENAME"]); 8var_dump($_SERVER["REQUEST_URI"]); 9var_dump($_SERVER["PHAR_PHP_SELF"]); 10var_dump($_SERVER["PHAR_SCRIPT_NAME"]); 11var_dump($_SERVER["PHAR_SCRIPT_FILENAME"]); 12var_dump($_SERVER["PHAR_REQUEST_URI"]); 13'; 14$a->setStub('<?php 15Phar::mungServer(array("PHP_SELF", "SCRIPT_NAME", "SCRIPT_FILENAME", "REQUEST_URI")); 16Phar::webPhar(); 17echo "oops did not run\n"; 18var_dump($_ENV, $_SERVER); 19__HALT_COMPILER();'); 20?> 21