鉴于此对象:
stdClass Object ( [customerdata] => <TPSession userid="22" CustomerId="123456"LoginId="123456"/><TPSession userid="26" CustomerId="1234567"LoginId="1234567" /> )
如何使用PHP将此XML数据转换为数组?
php xml arrays type-conversion
arrays ×1
php ×1
type-conversion ×1
xml ×1