From 58e38a42451ec637d829f04fa9675113ada5f7a2 Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Tue, 14 Dec 2004 11:53:48 +0000 Subject: [PATCH] - Document return value. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@174679 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/errorfunc/functions/restore-error-handler.xml | 8 +++++--- .../errorfunc/functions/restore-exception-handler.xml | 9 +++++---- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/reference/errorfunc/functions/restore-error-handler.xml b/reference/errorfunc/functions/restore-error-handler.xml index ac296788cd..1be16b63c4 100644 --- a/reference/errorfunc/functions/restore-error-handler.xml +++ b/reference/errorfunc/functions/restore-error-handler.xml @@ -1,5 +1,5 @@ - + @@ -11,17 +11,19 @@ &reftitle.description; - voidrestore_error_handler + boolrestore_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) + handler (which could be the built-in or a user defined function). This + function always returns &true;. See also error_reporting, set_error_handler, + restore_exception_handler, trigger_error. diff --git a/reference/errorfunc/functions/restore-exception-handler.xml b/reference/errorfunc/functions/restore-exception-handler.xml index af2187aeb7..45a13f6513 100644 --- a/reference/errorfunc/functions/restore-exception-handler.xml +++ b/reference/errorfunc/functions/restore-exception-handler.xml @@ -1,5 +1,5 @@ - + restore_exception_handler @@ -10,19 +10,20 @@ &reftitle.description; - voidrestore_exception_handler + boolrestore_exception_handler 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) + function). This function always returns &true;. See also set_exception_handler, - set_error_handler, and + set_error_handler, + restore_error_handler error_reporting