Document set_error_handler(null)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330243 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jakub Vrana 2013-05-16 18:34:12 +00:00
parent f539c60440
commit 1d285503e2
2 changed files with 11 additions and 12 deletions

View file

@ -66,12 +66,8 @@
<term><parameter>error_handler</parameter></term>
<listitem>
<para>
The user function needs to accept two parameters: the error code, and a
string describing the error. Then there are three optional parameters
that may be supplied: the filename in which the error occurred, the
line number in which the error occurred, and the context in which the
error occurred (an array that points to the active symbol table at the
point the error occurred). The function can be shown as:
A callback with the following siganture.
&null; may be passed instead, to reset this handler to its default state.
</para>
<para>
<methodsynopsis>
@ -180,6 +176,12 @@
</row>
</thead>
<tbody>
<row>
<entry>5.5.0</entry>
<entry>
<parameter>error_handler</parameter> now accepts &null;.
</entry>
</row>
<row>
<entry>5.2.0</entry>
<entry>

View file

@ -41,12 +41,9 @@
<methodparam><type>Exception</type><parameter>$ex</parameter></methodparam>
</methodsynopsis>
</para>
<note>
<para>
&null; may be passed instead, to reset this handler to its
default state.
</para>
</note>
<para>
&null; may be passed instead, to reset this handler to its default state.
</para>
</listitem>
</varlistentry>
</variablelist>