title: Getting First Dimension Array in PHP
body: <p>I have google thoroughly, and cannot find the solution on how to discard the second dimension array in PHP leaving just the first dimension array.</p>
  
  <p>From:</p>
  
  <pre><code>array(
    ['type'] =&gt; 'func'
    ['function'] =&gt; 'Model_Statement_Transaction::sum'
    ['parameters'] =&gt;  
      stdClass(
        statement_id = 8586
        transaction_type = 'raw_flour-import'
        column = 'quantity'
      )
  )
  </code></pre>
  
  <p>To:</p>
  
  <pre><code>array(
    ['type'] =&gt; 'func'
    ['function'] =&gt; 'Model_Statement_Transaction::sum'
    ['parameters'] =&gt; ''
  )
  </code></pre>