how to get the keys of sub array for an array tree
<p>I want to get the keys of this nested array and store them as a separate array </p>

<pre><code>Array
   (
    [151] =&gt; Array
        (
            [152] =&gt; Array
                (
                )

        )

   )
</code></pre>
