Re: assignment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux