我正在尝试打印来自 xml 结果的响应。
<?xml version="1.0"?>
<response op="sendsmsmsg" status="400" message="Customer with mobile number 6193030168 is not opted in" version="1.0"/>
SimpleXMLElement Object
(
[@attributes] => Array
(
[op] => sendsmsmsg
[status] => 400
[message] => Customer with mobile number 6193030168 is not opted in
[version] => 1.0
)
)
如何将此结果的操作值,状态,消息回显到php中