1--TEST--
2Phar front controller with fatal error in php file
3--INI--
4default_charset=UTF-8
5--SKIPIF--
6<?php if (!extension_loaded("phar")) die("skip"); ?>
7--ENV--
8SCRIPT_NAME=/frontcontroller29.php
9REQUEST_URI=/frontcontroller29.php/fatalerror.phps
10PATH_INFO=/fatalerror.phps
11--FILE_EXTERNAL--
12files/frontcontroller8.phar
13--EXPECTHEADERS--
14Content-type: text/html; charset=UTF-8
15--EXPECTF--
16Fatal error: Uncaught Error: Call to undefined function oopsie_daisy() in phar://%sfatalerror.phps:1
17Stack trace:
18#0 [internal function]: unknown()
19#1 %s(%d): Phar::webPhar('whatever', 'index.php', '404.php', Array)
20#2 {main}
21  thrown in phar://%sfatalerror.phps on line 1
22