1--TEST--
2Phar front controller mime type extension is not a string zip-based
3--INI--
4default_charset=
5--SKIPIF--
6<?php if (!extension_loaded("phar")) die("skip"); ?>
7<?php if (!extension_loaded("zlib")) die("skip zlib not available"); ?>
8<?php die("skip"); ?>
9--ENV--
10SCRIPT_NAME=/frontcontroller11.phar.php
11REQUEST_URI=/frontcontroller11.phar.php/a.php
12PATH_INFO=/a.php
13--FILE_EXTERNAL--
14files/frontcontroller5.phar.zip
15--EXPECTHEADERS--
16Content-type: text/html
17--EXPECTF--
18Fatal error: Uncaught PharException: Key of MIME type overrides array must be a file extension, was "0" in %sfrontcontroller11.phar.php:2
19Stack trace:
20#0 %sfrontcontroller11.phar.php(2): Phar::webPhar('whatever', 'index.php', '', Array)
21#1 {main}
22  thrown in %sfrontcontroller11.phar.php on line 2
23