I get a unusual error utilizing
json_decode()
. It unravels accurately the data (I saw it utilizing
print_r
), however when I attempt to access information inside the array I get
Fatal error: Cannot use object of type stdClass as array in
C:\Users\Dail\software\abs.php on line 108
I simply attempted to do:
$result['context']
where
$result
has the data returned by
json_decode()
How might I peruse values inside this array?