diff --git a/reference/errorfunc/functions/restore-error-handler.xml b/reference/errorfunc/functions/restore-error-handler.xml index 31cbc6c532bb..a374b5de3820 100644 --- a/reference/errorfunc/functions/restore-error-handler.xml +++ b/reference/errorfunc/functions/restore-error-handler.xml @@ -12,11 +12,17 @@ truerestore_error_handler - - 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). - + + Pops the error handler that was active before the most recent call to + set_error_handler off the internal stack of error + handlers and makes it active again, together with the + error_levels mask it was registered with. + The restored handler could be the built-in or a user defined function. + + + Calling this function more often than set_error_handler + leaves the built-in error handler active; no error is raised. + @@ -67,15 +73,13 @@ Invalid serialized value. &reftitle.seealso; - - - error_reporting - set_error_handler - get_error_handler - restore_exception_handler - trigger_error - - + + error_reporting + set_error_handler + get_error_handler + restore_exception_handler + trigger_error +