cvs: phpdoc /en/reference/misc/functions constant.xml

From: Date: Tue, 20 Sep 2005 13:25:03 +0000
Subject: cvs: phpdoc /en/reference/misc/functions constant.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969370234@lists.php.net to get a copy of this message
vrana Tue Sep 20 09:25:03 2005 EDT Modified files: /phpdoc/en/reference/misc/functions constant.xml Log: Works with class constants (bug #34049) http://cvs.php.net/diff.php/phpdoc/en/reference/misc/functions/constant.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc/en/reference/misc/functions/constant.xml diff -u phpdoc/en/reference/misc/functions/constant.xml:1.4 phpdoc/en/reference/misc/functions/constant.xml:1.5 --- phpdoc/en/reference/misc/functions/constant.xml:1.4 Sat Feb 28 10:13:37 2004 +++ phpdoc/en/reference/misc/functions/constant.xml Tue Sep 20 09:25:02 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./en/functions/misc.xml, last change in rev 1.38 --> <refentry id="function.constant"> <refnamediv> @@ -18,9 +18,13 @@ </simpara> <simpara> <function>constant</function> is useful if you need to retrieve - the value of a constant, but do not know its name. i.e. It is + the value of a constant, but do not know its name. I.e. it is stored in a variable or returned by a function. </simpara> + <simpara> + This function works also with <link + linkend="language.oop5.constants">class constants</link>. + </simpara> <para> <example> <title><function>constant</function> example</title>

« previous php.doc (#969370234) next »