1--TEST--
2Phar front controller $_SERVER munging failure 3 zip-based
3--INI--
4phar.require_hash=0
5--SKIPIF--
6<?php if (!extension_loaded("phar")) die("skip"); ?>
7<?php if (!extension_loaded("zlib")) die("skip zlib not available"); ?>
8--ENV--
9SCRIPT_NAME=/frontcontroller20.phar.php
10REQUEST_URI=/frontcontroller20.phar.php/
11PATH_INFO=/
12--FILE_EXTERNAL--
13files/frontcontroller11.phar.zip
14--EXPECTF--
15Fatal error: Uncaught PharException: Non-string value passed to Phar::mungServer(), expecting an array of any of these strings: PHP_SELF, REQUEST_URI, SCRIPT_FILENAME, SCRIPT_NAME in %sfrontcontroller20.phar.php:2
16Stack trace:
17#0 %sfrontcontroller20.phar.php(2): Phar::mungServer(Array)
18#1 {main}
19  thrown in %sfrontcontroller20.phar.php on line 2
20