title: How do I get a particular value in a multidimensional array?
body: <p>How do I prase this?</p>
  
  <pre><code>$scope = $facebook-&gt;api('/me/permissions','GET');
  </code></pre>
  
  <p>The result is as follows and I want to get the value of <em>installed</em>:</p>
  
  <pre><code>array(1) { ["data"]=&gt; array(1) { [0]=&gt; array(5) { ["installed"]=&gt; int(1) ["offline_access"]=&gt; int(1) ["email"]=&gt; int(1) ["manage_pages"]=&gt; int(1) ["user_about_me"]=&gt; int(1) } } } 
  </code></pre>
  
  <p>I've tried <code>json_decode($scope, true)</code>, <code>$scope['installed']</code>, <code>$scope['data']['installed']</code> etc. What am I missing?</p>