Easy Tutorial
❮ Func Filesystem Is Executable Func Filesystem Diskfreespace ❯

PHP restore_error_handler() Function



Definition and Usage

The restore_error_handler() function restores the previous error handler.

This function is used to revert to the previous error handler after it has been changed by the set_error_handler() function.

This function always returns TRUE.

Syntax


Tips and Notes

Tip: The previous error handler could be either the built-in error handler or a user-defined function.


Example

The output of the above code is as follows:


❮ Func Filesystem Is Executable Func Filesystem Diskfreespace ❯