> > I agree with this completely. I think the point here is that > catch(Exception $e) remains unchanged while setting a handler actually > catches more things now. Tbh I feel like this is an oversight in > implementing the Error/Throwable rfc and should be addressed now, otherwise > it can't be changed until 8 if I understand correctly. > The difference is that `catch (Exception $e)` can be found in many places, whereas `set_exception_handler` is a global per application thing.
Regards, Niklas