PHP basic: How to access a member of an attribute of an object
<p>I have this output when I do var_dump($myvar) on a variable.</p>

<pre><code>    object(stdClass)#5 (19) {
      ["contributors"]=&gt;
      NULL
      ["coordinates"]=&gt;
      NULL
      ...
      ...
      ...
      ["text"]=&gt;
      string(118) "Tune in to @Current TV this Saturday for post-debate commentary from me + @JenGranholm + Cenk Uygur #PoliticallyDirect"
    }
</code></pre>

<p>How do I reach the "text" attribute? I thought it would be $myvar["text"] but that gives me this error message:</p>

<p>Fatal error: Cannot use object of type stdClass as array</p>
