1--TEST--
2Phar front controller mime type not string/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=/frontcontroller13.phar.php
11REQUEST_URI=/frontcontroller13.phar.php/a.php
12PATH_INFO=/a.php
13--FILE_EXTERNAL--
14files/frontcontroller7.phar.zip
15--EXPECTHEADERS--
16Content-type: text/html; charset=UTF-8
17--EXPECTF--
18Fatal error: Uncaught PharException: Unknown mime type specifier used (not a string or int), only Phar::PHP, Phar::PHPS and a mime type string are allowed in %sfrontcontroller13.phar.php:2
19Stack trace:
20#0 %sfrontcontroller13.phar.php(2): Phar::webPhar('whatever', 'index.php', NULL, Array)
21#1 {main}
22  thrown in %sfrontcontroller13.phar.php on line 2
23