mirror of
https://github.com/php/php-src.git
synced 2026-04-21 15:08:16 +02:00
7485978339
This is an automated migration of most SKIPIF extension_loaded checks.
20 lines
645 B
PHP
20 lines
645 B
PHP
--TEST--
|
|
Phar front controller $_SERVER munging failure zip-based
|
|
--INI--
|
|
phar.require_hash=0
|
|
--EXTENSIONS--
|
|
phar
|
|
zlib
|
|
--ENV--
|
|
SCRIPT_NAME=/frontcontroller18.phar.php
|
|
REQUEST_URI=/frontcontroller18.phar.php/fronk.gronk
|
|
PATH_INFO=/fronk.gronk
|
|
--FILE_EXTERNAL--
|
|
files/frontcontroller9.phar.zip
|
|
--EXPECTF--
|
|
Fatal 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
|
|
Stack trace:
|
|
#0 %sfrontcontroller18.phar.php(2): Phar::mungServer(Array)
|
|
#1 {main}
|
|
thrown in %sfrontcontroller18.phar.php on line 2
|