1--TEST-- 2Phar front controller $_SERVER munging success tar-based 3--INI-- 4default_charset=UTF-8 5--SKIPIF-- 6<?php if (!extension_loaded("phar")) die("skip"); ?> 7--ENV-- 8SCRIPT_NAME=/frontcontroller21.phar.php 9REQUEST_URI=/frontcontroller21.phar.php/index.php?test=hi 10PATH_INFO=/index.php 11QUERY_STRING=test=hi 12--FILE_EXTERNAL-- 13files/frontcontroller12.phar.tar 14--EXPECTHEADERS-- 15Content-type: text/html; charset=UTF-8 16--EXPECTF-- 17%unicode|string%(10) "/index.php" 18string(10) "/index.php" 19string(%d) "phar://%sfrontcontroller21.phar.php/index.php" 20string(18) "/index.php?test=hi" 21string(37) "/frontcontroller21.phar.php/index.php" 22string(27) "/frontcontroller21.phar.php" 23string(%d) "%sfrontcontroller21.phar.php" 24string(45) "/frontcontroller21.phar.php/index.php?test=hi"