- var_dump: documentation ( source)
- simplexml_load_string: documentation ( source)
<?php
$xml = simplexml_load_string('http://www.w3schools.com/xml/simple.xml');
// $xml = new SimpleXMLElement('http://www.w3schools.com/xml/simple.xml');
var_dump($xml);