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

From: Date: Tue, 22 Dec 2009 13:33:12 +0000
Subject: svn: /phpdoc/en/trunk/reference/errorfunc/functions/ error-reporting.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-5701@lists.php.net to get a copy of this message
degeberg Tue, 22 Dec 2009 13:33:12 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=292477 Log: Fixes #50548. Bug: http://bugs.php.net/50548 (Open) error_reporting() behavior incorrectly documented Changed paths: U phpdoc/en/trunk/reference/errorfunc/functions/error-reporting.xml Modified: phpdoc/en/trunk/reference/errorfunc/functions/error-reporting.xml =================================================================== --- phpdoc/en/trunk/reference/errorfunc/functions/error-reporting.xml 2009-12-22 13:04:11 UTC (rev 292476) +++ phpdoc/en/trunk/reference/errorfunc/functions/error-reporting.xml 2009-12-22 13:33:12 UTC (rev 292477) @@ -17,7 +17,9 @@ <link linkend="ini.error-reporting">error_reporting</link> directive at runtime. PHP has many levels of errors, using this function sets that level for the duration (runtime) of - your script. + your script. If the optional <parameter>level</parameter> is + not set, <function>error_reporting</function> will just return + the current error reporting level. </para> </refsect1> @@ -50,7 +52,8 @@ &reftitle.returnvalues; <para> Returns the old <link linkend="ini.error-reporting">error_reporting</link> - level. + level or the current level if no <parameter>level</parameter> parameter is + given. </para> </refsect1>

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