how to call the array in $$variable
<pre><code>$var = "array";
$$var=array("1","2");
</code></pre>

<p>How can I call the array in <code>$$var</code> without using <code>foreach</code>? I want a method like <code>$$var[0]</code>, but this doesn't work.</p>
