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