cvs: phpdoc /en/language constants.xml

From: Date: Sat, 22 Feb 2003 06:51:10 +0000
Subject: cvs: phpdoc /en/language constants.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969351919@lists.php.net to get a copy of this message
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">

« previous php.doc (#969351919) next »