cvs: /phpdoc/language variables.sgml

From: Date: Mon, 15 Nov 1999 21:54:10 +0000
Subject: cvs: /phpdoc/language variables.sgml
Groups: php.dev 
Request: Send a blank email to php-dev+get-12572@lists.php.net to get a copy of this message
cslawi Mon Nov 15 16:54:10 1999 EDT Modified files: /phpdoc/language variables.sgml Log: Add note that variable names are case-sensitive. Index: phpdoc/language/variables.sgml diff -u phpdoc/language/variables.sgml:1.4 phpdoc/language/variables.sgml:1.5 --- phpdoc/language/variables.sgml:1.4 Sat Nov 13 17:47:23 1999 +++ phpdoc/language/variables.sgml Mon Nov 15 16:54:09 1999 @@ -1,6 +1,18 @@ <chapter id="language.variables"> <title>Variables</title> + <para> + Variables in PHP are represented by a dollar sign followed by the + name of the variable. The variable name is case-sensitive. + <informalexample> + <programlisting> +$var = "Bob"; +$Var = "Joe"; +echo "$var, $Var"; // outputs "Bob, Joe" + </programlisting> + </informalexample> + </para> + <sect1 id="language.variables.scope"> <title>Variable scope</title>

« previous php.dev (#12572) next »