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