Define :
The restore_exception_handler() is inbuilt function in php.This function restores the previously defined exception handler function. This function is 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)
restore_exception_handler()
Given below example shows the usage of restore_exception_handler() function.
Output : [myException1]: This triggers is the first exception handler...