[PHP-DEV] PHP 4.0 Bug #6470 Updated: Variable variables with arrays From: Bug Database (php-dev <email protected>)
Date: 08/31/00

ID: 6470
Updated by: stas
Reported By: drew <email protected>
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

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>