1--TEST--
2Phar front controller $_SERVER munging success zip-based
3--INI--
4default_charset=UTF-8
5cgi.fix_pathinfo=1
6--SKIPIF--
7<?php if (!extension_loaded("phar")) die("skip"); ?>
8<?php if (!extension_loaded("zlib")) die("skip zlib not available"); ?>
9--ENV--
10SCRIPT_NAME=/frontcontroller21.phar.php
11REQUEST_URI=/frontcontroller21.phar.php/index.php?test=hi
12PATH_INFO=/index.php
13QUERY_STRING=test=hi
14--FILE_EXTERNAL--
15files/frontcontroller12.phar.zip
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.phar.php/index.php"
22string(18) "/index.php?test=hi"
23string(37) "/frontcontroller21.phar.php/index.php"
24string(27) "/frontcontroller21.phar.php"
25string(%d) "%sfrontcontroller21.phar.php"
26string(45) "/frontcontroller21.phar.php/index.php?test=hi"
27