--TEST--
Test catching fatal errors when handlers are nested
+--INI--
+display_errors=0
--FILE--
<?php
$vendor = __DIR__;
while (!file_exists($vendor.'/vendor')) {
- $vendor = dirname($vendor);
+ $vendor = \dirname($vendor);
}
require $vendor.'/vendor/autoload.php';
?>
--EXPECTF--
-Fatal error: Class 'Symfony\Component\Debug\missing' not found in %s on line %d
object(Symfony\Component\Debug\Exception\ClassNotFoundException)#%d (8) {
["message":protected]=>
string(131) "Attempted to load class "missing" from namespace "Symfony\Component\Debug".
["line":protected]=>
int(%d)
["trace":"Exception":private]=>
- array(0) {
- }
+ array(%d) {%A}
["previous":"Exception":private]=>
NULL
["severity":protected]=>