1--TEST--
2Phar front controller $_SERVER munging failure 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=/frontcontroller18.phar.php
10REQUEST_URI=/frontcontroller18.phar.php/fronk.gronk
11PATH_INFO=/fronk.gronk
12--FILE_EXTERNAL--
13files/frontcontroller9.phar.zip
14--EXPECTF--
15Fatal error: Uncaught PharException: No values passed to Phar::mungServer(), expecting an array of any of these strings: PHP_SELF, REQUEST_URI, SCRIPT_FILENAME, SCRIPT_NAME in %sfrontcontroller18.phar.php:2
16Stack trace:
17#0 %sfrontcontroller18.phar.php(2): Phar::mungServer(Array)
18#1 {main}
19  thrown in %sfrontcontroller18.phar.php on line 2
20