restore_exception_handler
PHP 5, PHP 7, PHP 8
restore_exception_handler - Restores the previously defined exception handler function
Manual
restore_exception_handler(
): bool
Used after changing the exception handler function using set_exception_handler, to revert to the previous exception handler (which could be the built-in or a user defined function).
Parameters
This function has no parameters.
Return Values
This function always returns true.