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