title: How can I access an object property named as a variable in php?
body: <p>A Google APIs encoded in JSON returned an object such as this</p>
  <pre><code>[updated] =&gt; stdClass Object
  (
   [$t] =&gt; 2010-08-18T19:17:42.026Z
  )
  </code></pre>
  <p>Anyone knows how can I access the <code>$t</code> value?</p>
  <p><code>$object-&gt;$t</code> obviously returns</p>
  <blockquote>
  <p>Notice: Undefined variable: <code>t</code> in /usr/local/...</p>
  <p>Fatal error: Cannot access empty property in /....</p>
  </blockquote>