Re: what does $$ mean?

From: Date: Mon, 05 Mar 2001 04:39:44 +0000
Subject: Re: what does $$ mean?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-42578@lists.php.net to get a copy of this message
Check out : http://php.net/manual/en/language.variables.variable.php Example : $a = 'hi'; $$a = 'sup'; $hi now equals 'sup' Regards, Philip Olson http://www.cornado.com/ On Sun, 4 Mar 2001, Ed Lazor wrote: > I'm studying some code from the net and was kinda curious. There are > places where it references variables like this: > > $$testvar > > What's the difference between that and > > $testvar > > ? > > -Ed > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#42578) next »