|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-08-31 11:57 UTC] stas@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 21:00:01 2025 UTC |
Is there any reason why this does not work :- <? $array = array("key" => "value"); $key = "[key]"; $variable_variable = "array${key}"; $value = $$variable_variable; print $value; ?> The only way around this seems to be eval. Not good. Rgds Drew Wells