note 5183 deleted from Strings by torben
| From: | torben@php.net | Date: | Mon, 14 Aug 2000 02:10:38 +0000 |
| Subject: | note 5183 deleted from Strings by torben | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-1809@lists.php.net to get a copy of this message | ||
The variable identifier ends when an illegal character is reached. Since variables names can only be
defined with alphanumeric plus underscore (I believe) the identifier is ended by any
non-alphanumeric-underscore character. This goes within double quotes (") also.
So echo "$HelloWorld"; will print the value of $HelloWorld (null).
echo "$Hello World"; is the same as echo $Hello." World";.