Annotation of embedaddon/php/ext/phar/tests/cache_list/frontcontroller18.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: Phar front controller $_SERVER munging failure [cache_list]
3: --INI--
4: phar.cache_list={PWD}/frontcontroller18.php
5: --SKIPIF--
6: <?php if (!extension_loaded("phar")) die("skip"); ?>
7: --ENV--
8: SCRIPT_NAME=/frontcontroller18.php
9: REQUEST_URI=/frontcontroller18.php/fronk.gronk
10: PATH_INFO=/fronk.gronk
11: --FILE_EXTERNAL--
12: files/frontcontroller9.phar
13: --EXPECTF--
14: 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
15: Stack trace:
16: #0 %sfrontcontroller18.php(2): Phar::mungServer(Array)
17: #1 {main}
18: thrown in %sfrontcontroller18.php on line 2
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>