From 1b678a5bae551425e2f6574170c27c1d88c3a4f2 Mon Sep 17 00:00:00 2001 From: Philip Olson Date: Sat, 24 Jul 2004 06:35:11 +0000 Subject: [PATCH] Initial documentation (set_exception_handler remains &warn.undocumented.func;). git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@164180 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../functions/restore-exception-handler.xml | 50 +++++++++++++++++++ .../functions/set-exception-handler.xml | 50 +++++++++++++++++++ 2 files changed, 100 insertions(+) create mode 100644 reference/errorfunc/functions/restore-exception-handler.xml create mode 100644 reference/errorfunc/functions/set-exception-handler.xml diff --git a/reference/errorfunc/functions/restore-exception-handler.xml b/reference/errorfunc/functions/restore-exception-handler.xml new file mode 100644 index 0000000000..b8963668c2 --- /dev/null +++ b/reference/errorfunc/functions/restore-exception-handler.xml @@ -0,0 +1,50 @@ + + + + + restore_exception_handler + + Restores the previously defined exception handler function + + + + Description + + voidrestore_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) + + + See also + set_exception_handler, + set_error_handler, and + error_reporting + + + + + diff --git a/reference/errorfunc/functions/set-exception-handler.xml b/reference/errorfunc/functions/set-exception-handler.xml new file mode 100644 index 0000000000..ded8fbf628 --- /dev/null +++ b/reference/errorfunc/functions/set-exception-handler.xml @@ -0,0 +1,50 @@ + + + + + set_exception_handler + + Sets a user-defined exception handler function + + + + Description + + stringset_exception_handler + callbackexception_handler + + + Returns the previously defined exception handler, or &false; on error. + + + &warn.undocumented.func; + + + See also + restore_exception_handler, + restore_error_handler, and + error_reporting. + + + + +