title: array_chunk reseting id in each array position
body: <p>I created a array which stores XML elements in it.</p>
  
  <pre><code>$itemArray = array();
  $itemArray[] = array ('[{id:'.$item.'species:'.$gender.'}]');
  </code></pre>
  
  <p>Now I used array_chunk to split the Array in 3 item parts.</p>
  
  <pre><code>$arrayChunked = array_chunk($itemArray, 3, true);
  </code></pre>
  
  <p>If I use:</p>
  
  <pre><code>var_dump($arrayChunked);
  </code></pre>
  
  <p>then the stored Items look like this:</p>
  
  <pre><code>0 =&gt; array(0,1,2)
  1 =&gt; array(3,4,5)
  2 =&gt; array(6,7,8)         
  </code></pre>
  
  <p>But i need them stored like:</p>
  
  <pre><code>0 =&gt; array(0,1,2)
  1 =&gt; array(0,1,2)
  2 =&gt; array(0,1,2)         
  </code></pre>
  
  <p>Any Idea of how i could do this?</p>