[prev in list] [next in list] [prev in thread] [next in thread]
List: php-doc-cvs
Subject: [DOC-CVS] =?utf-8?q?svn:_/phpdoc/en/trunk/reference/errorfunc/functions/_set-error-handler.xml?=
From: Daniel_Egeberg <degeberg () php ! net>
Date: 2010-01-27 12:26:37
Message-ID: svn-degeberg-1264595197-294084-424593304 () svn ! php ! net
[Download RAW message or body]
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>.
--
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic