svn: /phpdoc/en/trunk/reference/errorfunc/functions/ set-error-handler.xml set-exception-handler.xml

From: Date: Thu, 16 May 2013 18:34:12 +0000
Subject: svn: /phpdoc/en/trunk/reference/errorfunc/functions/ set-error-handler.xml set-exception-handler.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-11267@lists.php.net to get a copy of this message
vrana Thu, 16 May 2013 18:34:12 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=330243 Log: Document set_error_handler(null) Changed paths: U phpdoc/en/trunk/reference/errorfunc/functions/set-error-handler.xml U phpdoc/en/trunk/reference/errorfunc/functions/set-exception-handler.xml Modified: phpdoc/en/trunk/reference/errorfunc/functions/set-error-handler.xml =================================================================== --- phpdoc/en/trunk/reference/errorfunc/functions/set-error-handler.xml 2013-05-16 18:25:45 UTC (rev 330242) +++ phpdoc/en/trunk/reference/errorfunc/functions/set-error-handler.xml 2013-05-16 18:34:12 UTC (rev 330243) @@ -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> @@ -181,6 +177,12 @@ </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> The error handler must return &false; to populate 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:25:45 UTC (rev 330242) +++ phpdoc/en/trunk/reference/errorfunc/functions/set-exception-handler.xml 2013-05-16 18:34:12 UTC (rev 330243) @@ -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>

« previous php.doc.cvs (#11267) next »