* Thus wrote Steve Todd ([EMAIL PROTECTED]):
> 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.

perfectly legal, its called a variable variable...

http://php.net/variables.variable


Curt
-- 
"I used to think I was indecisive, but now I'm not so sure."

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to