title: Extract data from PHP Object
body: <p>I'm using the Facebook API and the class produces this object.</p>
  
  <pre><code>   object(User)#4 (5) {
        ["fbc_uid"]=&gt;
        string(9) "324234324"
        ["fbc_first_name"]=&gt;
        string(5) "James"
        ["fbc_last_name"]=&gt;
        string(5) "Proud"
        ["fbc_name"]=&gt;
        string(11) "James Proud"
        ["fbc_email"]=&gt;
        NULL
      }
  </code></pre>
  
  <p>How do I extract the fbc_uid from this object, from outside the "User" Facebook class?</p>