Re: assignment
| From: | Jason Wong | Date: | Sat, 11 Dec 2004 16:24:56 +0000 |
| Subject: | Re: assignment | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-204065@lists.php.net to get a copy of this message | ||
On Friday 10 December 2004 12:02, Song Ken Vern wrote:
> Tried searching for what this $$ operator means.
> But can't get the right results by using $$ as search string in php manual.
>
> $temp = $$temp2;
Search for "variable variables"
> Is this an array assignment?
No, but in most cases where you "think" you need variable variables using
arrays instead would be a better choice.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Stay away from hurricanes for a while.
*/