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

From: Date: Wed, 27 Jan 2010 12:26:37 +0000
Subject: svn: /phpdoc/en/trunk/reference/errorfunc/functions/ set-error-handler.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-5937@lists.php.net to get a copy of this message
degeberg Wed, 27 Jan 2010 12:26:37 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=294084 Log: Fixed doc bug #50849 (set_error_handler claims it makes error_reporting() settings have no effec) Bug: http://bugs.php.net/50849 (Open) set_error_handler claims it makes error_reporting() settings have no effec Changed paths: U phpdoc/en/trunk/reference/errorfunc/functions/set-error-handler.xml Modified: phpdoc/en/trunk/reference/errorfunc/functions/set-error-handler.xml =================================================================== --- phpdoc/en/trunk/reference/errorfunc/functions/set-error-handler.xml 2010-01-27 12:14:53 UTC (rev 294083) +++ phpdoc/en/trunk/reference/errorfunc/functions/set-error-handler.xml 2010-01-27 12:26:37 UTC (rev 294084) @@ -26,10 +26,13 @@ </para> <para> It is important to remember that the standard PHP error handler is completely - bypassed. <function>error_reporting</function> settings will have no effect - and your error handler will be called regardless - however you are still - able to read the current value of <link linkend="ini.error-reporting">error_reporting</link> and - act appropriately. Of particular note is that this value will be 0 if the + bypassed for the error types specified by <parameter>error_types</parameter> + unless the callback function returns &false;. + <function>error_reporting</function> settings will have no effect and your + error handler will be called regardless - however you are still able to read + the current value of + <link linkend="ini.error-reporting">error_reporting</link> and act + appropriately. Of particular note is that this value will be 0 if the statement that caused the error was prepended by the <link linkend="language.operators.errorcontrol">@ error-control operator</link>.

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