philip Sat Feb 22 01:51:10 2003 EDT Modified files: /phpdoc/en/language constants.xml Log: Expand info on constant and scope, similar to superglobals Index: phpdoc/en/language/constants.xml diff -u phpdoc/en/language/constants.xml:1.27 phpdoc/en/language/constants.xml:1.28 --- phpdoc/en/language/constants.xml:1.27 Sat Jan 18 01:42:27 2003 +++ phpdoc/en/language/constants.xml Sat Feb 22 01:51:10 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.27 $ --> +<!-- $Revision: 1.28 $ --> <chapter id="language.constants"> <title>Constants</title> @@ -29,8 +29,10 @@ </note> <simpara> - The scope of a constant is global--you can access it anywhere in - your script without regard to scope. + Like $link.superglobals;, the scope of a constant is global. You + can access constants anywhere in your script without regard to scope. + For more information on scope, read the manual section on + <link linkend="language.variables.scope">variable scope</link>. </simpara> <sect1 id="language.constants.syntax">
-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php