Re: assignment
| From: | Chris | Date: | Sat, 11 Dec 2004 18:17:07 +0000 |
| Subject: | Re: assignment | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-204069@lists.php.net to get a copy of this message | ||
That's a variable variable name.
http://us2.php.net/manual/en/language.variables.variable.php
So
$temp3 = 'valueoftemp3';
$temp2 = 'temp3';
$temp = $$temp2;
$$temp2 === $temp3;
Song Ken Vern wrote:
Hi, Tried searching for what this $$ operator means. But can't get the right results by using $$ as search string in php manual. $temp = $$temp2; Is this an array assignment? Thanx. Ken