Why session array index doesn't accept integer as array index?
<p>Eg: </p>

<pre><code>$_SESSION['1'] = 'username'; // works
$_SESSION[1] = 'username'; //doesnt work
</code></pre>

<p>I want to store session array index as array index. So that o/p is :</p>

<pre><code>Array(
[1] =&gt; 'username'
)
</code></pre>
