Varible Varibles
| From: | Peter | Date: | Thu, 13 Jun 2002 02:41:33 +0000 |
| Subject: | Varible Varibles | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-101858@lists.php.net to get a copy of this message | ||
howdy,
I'm just curious here about varible varibles ... I know that you can, well
it's documented that you can, do the following
<?
$a = foo;
$$a = bar;
echo "$a $$a";
?>
which will produce foo bar
now what I am curious about is, how much of a difference does that really
make when you compare it to..
<?
$a = foo;
$a .= bar;
echo "$a";
?>
Cheers
Peter
"the only dumb question is the one that wasn't asked"