Re: IS THIS A BUG?

From: Date: Wed, 27 Aug 2003 22:18:49 +0000
Subject: Re: IS THIS A BUG?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-160971@lists.php.net to get a copy of this message
--- Steve Todd <steve_todd@blueyonder.co.uk> wrote: > 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. It is not a bug, but it's still PHP: http://bbspot.com/News/2000/6/php_suspend.html Chris ===== Become a better Web developer with the HTTP Developer's Handbook http://httphandbook.org/

« previous php.general (#160971) next »