mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
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:
parent
f539c60440
commit
1d285503e2
2 changed files with 11 additions and 12 deletions
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue