1--TEST--
2Phar front controller $_SERVER munging failure 3 tar-based
3--SKIPIF--
4<?php if (!extension_loaded("phar")) die("skip"); ?>
5--ENV--
6SCRIPT_NAME=/frontcontroller20.phar.php
7REQUEST_URI=/frontcontroller20.phar.php/
8PATH_INFO=/
9--FILE_EXTERNAL--
10files/frontcontroller11.phar.tar
11--EXPECTF--
12Fatal error: Uncaught exception 'PharException' with message '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
13Stack trace:
14#0 %sfrontcontroller20.phar.php(2): Phar::mungServer(Array)
15#1 {main}
16  thrown in %sfrontcontroller20.phar.php on line 2
17