note 98405 deleted from language.variables.basics by danbrown
| From: | danbrown@php.net | Date: | Mon, 14 Jun 2010 00:23:12 +0000 |
| Subject: | note 98405 deleted from language.variables.basics by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-170103@lists.php.net to get a copy of this message | ||
Note Submitter: Ant P.
----
Beware of PHP's lack of Unicode support!
<?php
$var = 'abcd';
// WRONG: thinks the var name is '$varâ'
echo <<<TEXT
\$var is â$varâ
TEXT;
// WORKS;
echo <<<TEXT
\$var is â{$var}â
TEXT;