mirror of
https://github.com/php/php-src.git
synced 2024-10-21 08:22:42 +00:00
19 lines
708 B
PHP
19 lines
708 B
PHP
--TEST--
|
|
Phar front controller $_SERVER munging failure [cache_list]
|
|
--INI--
|
|
phar.cache_list={PWD}/frontcontroller18.php
|
|
--SKIPIF--
|
|
<?php if (!extension_loaded("phar")) die("skip"); ?>
|
|
--ENV--
|
|
SCRIPT_NAME=/frontcontroller18.php
|
|
REQUEST_URI=/frontcontroller18.php/fronk.gronk
|
|
PATH_INFO=/fronk.gronk
|
|
--FILE_EXTERNAL--
|
|
files/frontcontroller9.phar
|
|
--EXPECTF--
|
|
Fatal error: Uncaught exception 'PharException' with message 'No values passed to Phar::mungServer(), expecting an array of any of these strings: PHP_SELF, REQUEST_URI, SCRIPT_FILENAME, SCRIPT_NAME' in %sfrontcontroller18.php:2
|
|
Stack trace:
|
|
#0 %sfrontcontroller18.php(2): Phar::mungServer(Array)
|
|
#1 {main}
|
|
thrown in %sfrontcontroller18.php on line 2
|