Looping through an array inside another array php
<p>I want to nest an array inside another array, my code will be similar to this</p>

<pre><code>array(
'type' =&gt; 'FeatureCollection',
'features' =&gt; array(
    array(
        'type' =&gt; 'Feature',
        'geometry' =&gt; array(
            'coordinates' =&gt; array(-94.34885, 39.35757),
            'type' =&gt; 'Point'
        ), // geometry
        'properties' =&gt; array(
            // latitude, longitude, id etc.
        ) // properties
    ), // end of first feature
    array( ... ), // etc.
) // features
)
</code></pre>

<p>Where the outer section (features) encapsulates many other arrays. I need to loop through variables pulled from a json file which I've already decoded -- how would I loop through these sets of data? A <code>foreach()</code>?</p>
