title: Retrieve Data from a response object in PHP
body: <p>New to php (used C and VB years ago)  Using a Temboo API for Ebay, I'm attempting to retrieve messages from our eBay account.  Although the API says it will return a JSON string, when executing it returns an object.  Using <code>var_dump(get_defined_vars($getMemberMessagesResults));</code> returns this relevant information:</p>
  <pre><code>'getMemberMessagesResults' =&gt; 
      object(eBay_Trading_GetMemberMessages_Results)[7]
        protected 'outputArray' =&gt; 
          array (size=1)
            'Response' =&gt; string '{&quot;@xmlns&quot;:&quot;urn:ebay:apis:eBLBaseComponents&quot;,&quot;Timestamp&quot;:&quot;2021-07-29T21:52:49.047Z&quot;,&quot;Ack&quot;:&quot;Warning&quot;,&quot;...
        protected 'lowercaseKeyMap' =&gt; 
          array (size=1)
            'response' =&gt; string 'Response' (length=8)
  </code></pre>
  <p>I am trying to extract the information <code>'Response'=&gt; string('xlmns&quot;:&quot;urn:ebay:apis&quot;...</code> information so that I can then process to put in a database.  But, I cannot figure out how to reference this information to extract it.  I've tried lots of references but so far I've been stumped.  I realize the information is probably there somewhere but being new to PHP I'm feeling stumped.  Thanks in advance for your assistance.</p>