I have this output when I do var_dump($myvar) on a variable.
object(stdClass)#5 (19) {
["contributors"]=>
NULL
["coordinates"]=>
NULL
...
...
...
["text"]=>
string(118) "Tune in to @Current TV this Saturday for post-debate commentary from me + @JenGranholm + Cenk Uygur #PoliticallyDirect"
}
How do I reach the "text" attribute? I thought it would be $myvar["text"] but that gives me this error message:
Fatal error: Cannot use object of type stdClass as array