restore_error_handler

PHP 4 >= 4.0.1, PHP 5, PHP 7, PHP 8
restore_error_handler - Restores the previous error handler function
Manual
Code Examples

restore_error_handler( ): bool

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

Parameters

This function has no parameters.

Return Values

This function always returns true.

Related Functions

Example of restore_error_handler

Show all examples for restore_error_handler

PHP Version:


Function restore_error_handler:

Error Handling and Logging Functions

Most used PHP functions