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