Annotation of embedaddon/php/ext/phar/tests/cache_list/frontcontroller12.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: Phar front controller mime type unknown int [cache_list]
3: --INI--
4: default_charset=UTF-8
5: phar.cache_list={PWD}/frontcontroller12.php
6: --SKIPIF--
7: <?php if (!extension_loaded("phar")) die("skip"); ?>
8: --ENV--
9: SCRIPT_NAME=/frontcontroller12.php
10: REQUEST_URI=/frontcontroller12.php/a.php
11: PATH_INFO=/a.php
12: --FILE_EXTERNAL--
13: files/frontcontroller6.phar
14: --EXPECTHEADERS--
15: Content-type: text/html; charset=UTF-8
16: --EXPECTF--
17: Fatal error: Uncaught exception 'PharException' with message 'Unknown mime type specifier used, only Phar::PHP, Phar::PHPS and a mime type string are allowed' in %sfrontcontroller12.php:2
18: Stack trace:
19: #0 %sfrontcontroller12.php(2): Phar::webPhar('whatever', 'index.php', '', Array)
20: #1 {main}
21: thrown in %sfrontcontroller12.php on line 2
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>