Listing elements inside an array
<p>I have an hash array in the format</p>

<pre><code>[{
    "count": 1,
    "entity": "Company",
    "Company": [{
        "Pearson_Plc-Sponsored_Adr": [{
            "count": 1,
            "entity": "Pearson"
        }],
        "sector": "Communications",
        "ticker": "PSO",
        "entity": "Pearson Plc-Sponsored Adr",
        "type": "ADR"
    }]
}]
</code></pre>

<p>I am familiar with the way this can be accessed using javascript, How do we list out all the elements in this array in php? I want to list all the elements with key entity?</p>
