/var/www/vhosts/nabawater/vendor/symfony/debug/Tests/phpt
Edit: /var/www/vhosts/nabawater/vendor/symfony/debug/Tests/phpt/fatal_with_nested_handlers.phpt (1053B)
--TEST--
Test catching fatal errors when handlers are nested
--FILE--
setExceptionHandler('print_r');
if (true) {
class Broken implements \Serializable
{
}
}
?>
--EXPECTF--
array(1) {
[0]=>
string(37) "Error and exception handlers do match"
}
object(Symfony\Component\Debug\Exception\FatalErrorException)#%d (%d) {
["message":protected]=>
string(199) "Error: Class Symfony\Component\Debug\Broken contains 2 abstract methods and must therefore be declared abstract or implement the remaining methods (Serializable::serialize, Serializable::unserialize)"
%a
}