colder Sun Jun 11 08:53:15 2006 UTC
Modified files: /phpdoc/en/language constants.xml Log: Fix #37776 (constants cannot be referenced before being defined) http://cvs.php.net/viewcvs.cgi/phpdoc/en/language/constants.xml?r1=1.43&r2=1.44&diff_format=u Index: phpdoc/en/language/constants.xml diff -u phpdoc/en/language/constants.xml:1.43 phpdoc/en/language/constants.xml:1.44 --- phpdoc/en/language/constants.xml:1.43 Tue Mar 7 00:29:13 2006 +++ phpdoc/en/language/constants.xml Sun Jun 11 08:53:15 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.43 $ --> +<!-- $Revision: 1.44 $ --> <chapter id="language.constants"> <title>Constants</title> @@ -62,7 +62,8 @@ <simpara> You can define a constant by using the <function>define</function>-function. Once a constant is defined, - it can never be changed or undefined. + it can never be changed or undefined. Unlike functions, constants need to + be defined before they are referenced. </simpara> <simpara> Only scalar data (<type>boolean</type>, <type>integer</type>,