1--TEST--
2Phar front controller mime type unknown int zip-based
3--INI--
4default_charset=UTF-8
5--SKIPIF--
6<?php if (!extension_loaded("phar")) die("skip"); ?>
7<?php if (!extension_loaded("zlib")) die("skip zlib not available"); ?>
8--ENV--
9SCRIPT_NAME=/frontcontroller12.phar.php
10REQUEST_URI=/frontcontroller12.phar.php/a.php
11PATH_INFO=/a.php
12--FILE_EXTERNAL--
13files/frontcontroller6.phar.zip
14--EXPECTHEADERS--
15Content-type: text/html; charset=UTF-8
16--EXPECTF--
17Fatal error: Uncaught PharException: Unknown mime type specifier used, only Phar::PHP, Phar::PHPS and a mime type string are allowed in %sfrontcontroller12.phar.php:2
18Stack trace:
19#0 %sfrontcontroller12.phar.php(2): Phar::webPhar('whatever', 'index.php', '', Array)
20#1 {main}
21  thrown in %sfrontcontroller12.phar.php on line 2
22