Is it possible to define a variable, such as:
$foo = "bar";
and then do as follows to create a totally different variable:
$$foo = "text here";
this seems to mean $bar = "text here";.
Is this a bug or can we legally use it.
Yes it's legal.
http://us2.php.net/manual/en/language.variables.variable.php
-- ---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.phparch.com
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php