Hashes in strings
| From: | Ferry van Steen | Date: | Thu, 02 May 2002 08:42:15 +0000 |
| Subject: | Hashes in strings | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-95652@lists.php.net to get a copy of this message | ||
Hey there,
why do these work:
$vars = "vars";
$ar[0] = "arrays";
$hash['vars'] = "hashes";
str = "I can use $vars in strings";
str = "I can use $ar[0] in string";
while this one doesn't:
str = "I can NOT use $hash['vars'] in strings";
Kind regards