svn: /phpdoc/en/trunk/reference/errorfunc/functions/ set-exception-handler.xml
| From: | Jakub Vrana | Date: | Thu, 16 May 2013 18:52:32 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/errorfunc/functions/ set-exception-handler.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-11268@lists.php.net to get a copy of this message | ||
vrana Thu, 16 May 2013 18:52:32 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=330244
Log:
Document set_exception_handler(null) return value
Changed paths:
U phpdoc/en/trunk/reference/errorfunc/functions/set-exception-handler.xml
Modified: phpdoc/en/trunk/reference/errorfunc/functions/set-exception-handler.xml
===================================================================
--- phpdoc/en/trunk/reference/errorfunc/functions/set-exception-handler.xml 2013-05-16 18:34:12 UTC
(rev 330243)
+++ phpdoc/en/trunk/reference/errorfunc/functions/set-exception-handler.xml 2013-05-16 18:52:32 UTC
(rev 330244)
@@ -54,11 +54,35 @@
&reftitle.returnvalues;
<para>
Returns the name of the previously defined exception handler, or &null; on error. If
- no previous handler was defined, &null; is also returned. If &null; is passed,
- resetting the handler to its default state, &true; is returned.
+ no previous handler was defined, &null; is also returned.
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <para>
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>5.5.0</entry>
+ <entry>
+ Previously, if &null; was passed then this function returned &true;.
+ It returns the previous handler since PHP 5.5.0.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>