Code: Select all
SimpleXMLElement Object
(
[connection] => Array
(
[0] => SimpleXMLElement Object
(
[ip] => 200.12.186.6
[port] => 1234
)
[1] => SimpleXMLElement Object
(
[ip] => 200.12.186.7
[port] => 1236
)
)
)Code: Select all
SimpleXMLElement Object
(
[0] => 200.12.186.7
)Code: Select all
SimpleXMLElement Object
(
[0] => 200.12.186.7
)
Code: Select all
<?xml version='1.0' standalone='yes'?>
<stuff>
<connections>
<connection><ip>200.12.186.6</ip><port>1234</port></connection>
<connection><ip>200.12.186.7</ip><port>1236</port></connection>
</connections>
</stuff>