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

restore_error_handler()

restore_error_handler - Restores the previous error handler function

Syntax

bool restore_error_handler ()

Arguments

-

Description

Used after changing the error handler function using set_error_handler(), to revert to the previous error handler (which could be the built-in or a user defined function).

Version

PHP 4.0.1, 5

Return value

This function always returns TRUE.