title: unwrap second level array in php
body: <p>I have the fallowing multidimensional array structure:</p>
  
  <pre><code>array
    '2012-10-02' =&gt; 
       array
         0 =&gt; 
          array
            'item1' =&gt; 
              array
                ...
  
     '2012-10-03' =&gt; 
       array
         0 =&gt; 
           array
             'item1' =&gt; 
               array
                 ...
  </code></pre>
  
  <p>How do I unwrap Item arrays so that structure would be like this:</p>
  
  <pre><code>array
    '2012-10-02' =&gt; 
       array
         'item1' =&gt; 
            array
             ...
     '2012-10-03' =&gt; 
        array
          'item1' =&gt; 
            array
              ...
  </code></pre>