PHP variable to array
<p>i need to convert a PHP <code>$var</code> to a array.</p>

<p>i did like this</p>

<pre><code>$array = array();
$var=$array;
</code></pre>

<p>but this way the  dosent give the output as this </p>

<pre><code>Array ( [0] =&gt; [1] =&gt; 9 [2] =&gt; 7 [3] =&gt; 11 [4] =&gt; 5 )
</code></pre>

<p>its gives like
    a normal varible print <code>154515100</code></p>
