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