--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 (8) { ["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 }