Re: coding standards - draft
| From: | Gabor Hojtsy | Date: | Fri, 28 Dec 2001 21:26:34 +0000 |
| Subject: | Re: coding standards - draft | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969340439@lists.php.net to get a copy of this message | ||
> This makes sense as $beers is not a set variable. {$beer}s works too
> though, seems okay that both work. Anyway, this isn't an array ;-))
OK, can you give an example you can do with ${} but you can't with
{$} and the opposite? Would be nice to clear at least my mind about
that :) We may include an example in the manual to show people
why we have two "frighteningly" similar things for the same thing
echo "this is ${bar}";
echo "this is {$bar}";
Goba