title: What does [1] => 0 mean in this array?
body: <p>I know this must be a fairly simple question, but I haven't managed to stumble across an answer yet.</p>
  
  <p>I have the following array</p>
  
  <pre><code>$qid[0][0]=1;
  $qid[1][0]=2;
  $qid[2][0]=3;
  $qid[3][0]=4;
  </code></pre>
  
  <p>When I use print_r($qid) I get the following</p>
  
  <pre><code>Array ( 
   [0] =&gt; Array ( [0] =&gt; 1 [1] =&gt; 0 ) 
   [1] =&gt; Array ( [0] =&gt; 2 ) 
   [2] =&gt; Array ( [0] =&gt; 3 ) 
   [3] =&gt; Array ( [0] =&gt; 4 )
  ) 
  </code></pre>
  
  <p>I don't understand  <strong>[1] => 0</strong>  </p>
  
  <p>in </p>
  
  <p><code>[0] =&gt; Array ( [0] =&gt; 1 [1] =&gt; 0 )</code> </p>
  
  <p>If someone could explain what  <strong>[1] => 0</strong> means in this array, I'd greatly appreciate it. Thanks.</p>
  
  <p><strong>EDIT:</strong> It turns out that my array was indeed different to what I had written above, because it had been modified later in the code. Thanks everyone for the great answers. I'm still reading over them all and trying to make my mind understand them (Arrays turn my mind to jello).</p>