note 8294 added to Variable variables
| From: | phpuser at kop dot org | Date: | Mon, 04 Sep 2000 15:31:12 +0000 |
| Subject: | note 8294 added to Variable variables | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-4131@lists.php.net to get a copy of this message | ||
Rupert, reading the introduction at the top of the page you have to resolve the inherrent ambiguity
in $$var[1].
That is, do you mean $ $var[1] or $$var [1]? So you should be accessing ${$var[1]} or {$$var}[1] as
appropriate (the latter if I read your code correctly).
http://www.php.net/manual/language.variables.variable.php