PHP - Trouble adding value to third dimensional array
<p>I have a this array scenario at first:</p>

<pre><code>$_SESSION['player_1_pawn'][] = 'Warrior';
</code></pre>

<p>now when I want to add a third dimensional value like this:</p>

<pre><code>$_SESSION['player_1_pawn'][0]['x'] = 1;
</code></pre>

<p>I get this output from </p>

<pre><code>&gt;$_SESSION['player_1_pawn'][0] : '1arrior'
</code></pre>

<p>My question is that, how to make that value stays intact as <code>Warrior</code> instead of <code>1arrior</code>?</p>
