mfischer Sun Jun 9 17:24:21 2002 EDT
Modified files:
/phpdoc/en/reference/errorfunc/functions set-error-handler.xml
Log:
- Document which error types can't be handled.
Index: phpdoc/en/reference/errorfunc/functions/set-error-handler.xml
diff -u phpdoc/en/reference/errorfunc/functions/set-error-handler.xml:1.3
phpdoc/en/reference/errorfunc/functions/set-error-handler.xml:1.4
--- phpdoc/en/reference/errorfunc/functions/set-error-handler.xml:1.3 Sun Apr 21
09:43:52 2002
+++ phpdoc/en/reference/errorfunc/functions/set-error-handler.xml Sun Jun 9
+17:24:20 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/errorfunc.xml, last change in rev 1.1 -->
<refentry id="function.set-error-handler">
<refnamediv>
@@ -31,6 +31,15 @@
error occurred (an array that points to the active symbol table at the
point the error occurred).
</para>
+ <note>
+ <para>
+ The following error types cannot be handled with a user defined
+ function: <constant>E_ERROR</constant>, <constant>E_PARSE</constant>,
+ <constant>E_CORE_ERROR</constant>, <constant>E_CORE_WARNING</constant>,
+ <constant>E_COMPILE_ERROR</constant> and
+ <constant>E_COMPILE_WARNING</constant>.
+ </para>
+ </note>
<para>
The example below shows the handling of
internal exceptions by triggering errors and handling them with a user