svn: /phpdoc/en/trunk/reference/misc/functions/ constant.xml
| From: | Peter Cowburn | Date: | Thu, 13 May 2010 08:01:52 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/misc/functions/ constant.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-6639@lists.php.net to get a copy of this message | ||
salathe Thu, 13 May 2010 08:01:52 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=299326
Log:
added errors section to constant() (closes bug #51805)
Bug: http://bugs.php.net/51805 (Open) There is no
Errors/Exceptions section in constant() man
Changed paths:
U phpdoc/en/trunk/reference/misc/functions/constant.xml
Modified: phpdoc/en/trunk/reference/misc/functions/constant.xml
===================================================================
--- phpdoc/en/trunk/reference/misc/functions/constant.xml 2010-05-13 03:51:00 UTC (rev 299325)
+++ phpdoc/en/trunk/reference/misc/functions/constant.xml 2010-05-13 08:01:52 UTC (rev 299326)
@@ -51,6 +51,14 @@
</para>
</refsect1>
+ <refsect1 role="errors">
+ &reftitle.errors;
+ <para>
+ An <constant>E_WARNING</constant> level error is generated if the
+ constant is not defined.
+ </para>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>