note 51876 deleted from function.error-reporting by betz
| From: | betz@php.net | Date: | Wed, 29 Jun 2005 10:16:50 +0000 |
| Subject: | note 51876 deleted from function.error-reporting by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-91115@lists.php.net to get a copy of this message | ||
Note Submitter: rsterbin at stwing dot org
----
When called with no arguments, error_reporting() returns the current error level. A line of the
type "if ($errno & error_reporting())" caused me much undue stress, as this behaviour
is not explicitly stated in the documentation.
See:
1.135 zeev Feb 28 1998 * Made error_reporting() with no arguments return the current error
reporting level
http://bonsai.php.net/cvslog.cgi?file=php3/functions/basic_functions.c