Re: Strange variable.....
| From: | David Robley | Date: | Tue, 20 Nov 2001 03:46:35 +0000 |
| Subject: | Re: Strange variable..... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-75202@lists.php.net to get a copy of this message | ||
On Tue, 20 Nov 2001 14:13, Gerard Samuel wrote:
> Hey all. Im debugging a script that was written by someone else, and
> alot of the variable has 2 '$$' in it. For example a varible is
> intialised and used as $$string. I haven't been using php for that
> long, but I haven't seen anything like this. Whats the story with
> variables with $$ in them??
> Thanks..
They are variable variables. Check out
http://www.php.net/manual/en/language.variables.variable.php
for more info
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
People are more than fun than anybody.