title: Cannot use object of type stdClass as array?
body: <p>I get a strange error using <code>json_decode()</code>. It decode correctly the data (I saw it using <code>print_r</code>), but when I try to access to info inside the array I get:</p>
  
  <pre><code>Fatal error: Cannot use object of type stdClass as array in
  C:\Users\Dail\software\abs.php on line 108
  </code></pre>
  
  <p>I only tried to do: <code>$result['context']</code> where <code>$result</code> has the data returned by <code>json_decode()</code></p>
  
  <p>How can I read values inside this array?</p>