我想將此散列表轉換爲數組或對象。是任何可用於將哈希錶轉換爲數組或對象或其他任何內容的php方法。如何將散列表轉換爲數組
<hashtable>
<entry>
<string>actiontypedesc</string>
<string>Deletion of IP Address [148.56.25.133] from Child Nameserver ns4.pankajwelcome.com</string
>
</entry>
<entry>
<string>entityid</string>
<string>61389936</string>
</entry>
<entry>
<string>actionstatus</string>
<string>Success</string>
</entry>
</hashtable>
這可能會幫助你:http://php.net/manual/en/function.xml-parse-into-struct.php –