From df3b3986d0ce82888ca0c21952e627650115d59e Mon Sep 17 00:00:00 2001 From: Matt Li Date: Thu, 2 Jun 2005 11:07:55 +0000 Subject: [PATCH] Fix doubling up + minor rewording git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@187490 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../functions/set-exception-handler.xml | 22 ++++--------------- 1 file changed, 4 insertions(+), 18 deletions(-) diff --git a/reference/errorfunc/functions/set-exception-handler.xml b/reference/errorfunc/functions/set-exception-handler.xml index 6193484fa9..0ca8a3a510 100644 --- a/reference/errorfunc/functions/set-exception-handler.xml +++ b/reference/errorfunc/functions/set-exception-handler.xml @@ -1,5 +1,5 @@ - + set_exception_handler @@ -20,22 +20,8 @@ The exception_handler must be defined before calling - set_exception_handler. This function needs to accept + set_exception_handler. This handler function needs to accept one parameter, which will be the exception object that was thrown. - - exception_handler - objectexception - - - - exception - - - Name of function to be called when an uncaught exception occurs. - - - - @@ -46,7 +32,7 @@ exception_handler - Name of function to be called when an uncaught exception occurs. + Name of the function to be called when an uncaught exception occurs. @@ -56,7 +42,7 @@ &reftitle.returnvalues; - Returns the previously defined exception handler, or &false; on error. If + Returns the name of the previously defined exception handler, or &false; on error. If no previous handler was defined, an empty string is returned.