title: stdClass objects and array key value
body: <p>I have the following objects with arrays and trying to get the value of email. How can this be done?</p>
  
  <pre><code>stdClass Object (
      [status] =&gt; stdClass Object ( 
          [info] =&gt; Unsubscribe List [code] =&gt; 200 
      ) 
      [data] =&gt; Array ( 
          [o1958147@rtrtr.com] =&gt; stdClass Object ( 
              [date] =&gt; 2013-01-28 08:09:19 
              [origin] =&gt; 
          ) 
          [phil.houston@granherne.com] =&gt; stdClass Object ( 
              [date] =&gt; 2013-01-28 08:35:59 
              [origin] =&gt; 
          ) 
      )    
  ) 
  </code></pre>
  
  <p>Currently i can access the date values with the following foreach.</p>
  
  <pre><code>foreach ($fnret-&gt;data as $msg)
  {
      echo $msg-&gt;date;      // shows 2013-01-28 08:35:59
  }
  </code></pre>