Fix doubling up + minor rewording

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@187490 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Matt Li 2005-06-02 11:07:55 +00:00
parent c9443b9828
commit df3b3986d0

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.6 $ -->
<!-- $Revision: 1.7 $ -->
<refentry id="function.set-exception-handler">
<refnamediv>
<refname>set_exception_handler</refname>
@ -20,22 +20,8 @@
</para>
<para>
The <parameter>exception_handler</parameter> must be defined before calling
<function>set_exception_handler</function>. This function needs to accept
<function>set_exception_handler</function>. This handler function needs to accept
one parameter, which will be the exception object that was thrown.
<methodsynopsis>
<methodname><replaceable>exception_handler</replaceable></methodname>
<methodparam><type>object</type><parameter>exception</parameter></methodparam>
</methodsynopsis>
<variablelist>
<varlistentry>
<term><parameter>exception</parameter></term>
<listitem>
<para>
Name of function to be called when an uncaught exception occurs.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1>
@ -46,7 +32,7 @@
<term><parameter>exception_handler</parameter></term>
<listitem>
<para>
Name of function to be called when an uncaught exception occurs.
Name of the function to be called when an uncaught exception occurs.
</para>
</listitem>
</varlistentry>
@ -56,7 +42,7 @@
<refsect1>
&reftitle.returnvalues;
<para>
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.
</para>
</refsect1>