title: How to parse a complex XML-RPC structure in PHP?
body: <p>Here is my XML object: <a href="http://pastebin.com/0L8vf0ja" rel="nofollow">http://pastebin.com/0L8vf0ja</a>
  Which was created from:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;methodResponse&gt;&lt;params&gt;&lt;param&gt;&lt;value&gt;&lt;struct&gt;&lt;member&gt;&lt;name&gt;result&lt;/name&gt;&lt;value&gt;&lt;struct&gt;&lt;member&gt;&lt;name&gt;application_instance_id&lt;/name&gt;&lt;value&gt;&lt;i4&gt;89&lt;/i4&gt;&lt;/value&gt;&lt;/member&gt;&lt;/struct&gt;&lt;/value&gt;&lt;/member&gt;&lt;member&gt;&lt;name&gt;status&lt;/name&gt;&lt;value&gt;&lt;i4&gt;0&lt;/i4&gt;&lt;/value&gt;&lt;/member&gt;&lt;/struct&gt;&lt;/value&gt;&lt;/param&gt;&lt;/params&gt;&lt;/methodResponse&gt;
  </code></pre>
  
  <p>I know upto this level:</p>
  
  <pre><code> $ApplicationInstanceID = (int)(string)$data-&gt;params-&gt;param-&gt;value-&gt;struct-&gt;member-&gt; 
  </code></pre>
  
  <p>But from here, as you see in the pastebin, it becomes an array of objects - and I am not sure how to proceed.</p>
  
  <p>Any ideas, please?</p>