PHP 4.0 Bug #6470 Updated: Variable variables with arrays
| From: | Bug Database | Date: | Thu, 31 Aug 2000 15:57:24 +0000 |
| Subject: | PHP 4.0 Bug #6470 Updated: Variable variables with arrays | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-31461@lists.php.net to get a copy of this message | ||
ID: 6470
Updated by: stas
Reported By: drew@elysium.ltd.uk
Status: Closed
Bug Type: Other
Assigned To:
Comments:
$$ syntax can be used for variable names only. $var["key"] is an expression, not variable
name. For expressions, you need to use eval (if you refuse to use $$variable_variable[$key]). That
is not a bug.
Full Bug description available at: http://bugs.php.net/?id=6470