Home > PHP > Function > Error Handling > restore_exception_handler()

restore_exception_handler()

restore_exception_handler - Restores the previously defined exception handler function

Syntax

bool restore_exception_handler ()

Arguments

-

Description

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).

Version

PHP 5

Return value

This function always returns TRUE.