vrana Tue Mar 7 00:29:14 2006 UTC
Modified files: /phpdoc/en/language constants.xml Log: Resource constants (bug #29534) http://cvs.php.net/viewcvs.cgi/phpdoc/en/language/constants.xml?r1=1.42&r2=1.43&diff_format=u Index: phpdoc/en/language/constants.xml diff -u phpdoc/en/language/constants.xml:1.42 phpdoc/en/language/constants.xml:1.43 --- phpdoc/en/language/constants.xml:1.42 Fri Nov 18 16:25:23 2005 +++ phpdoc/en/language/constants.xml Tue Mar 7 00:29:13 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.42 $ --> +<!-- $Revision: 1.43 $ --> <chapter id="language.constants"> <title>Constants</title> @@ -68,6 +68,7 @@ Only scalar data (<type>boolean</type>, <type>integer</type>, <type>float</type> and <type>string</type>) can be contained in constants. + Do not define <type>resource</type> constants. </simpara> <simpara> You can get the value of a constant by simply specifying its name.