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