- var_dump: documentation ( source)
- simplexml_load_string: documentation ( source)
<?php
$resultXML=<<<XML
<Mapper ProviderCode="" ProviderName="" SessionID="" Supplier="" ProviderSupplier="">
<ProviderSupplierName/>
</Mapper>
XML;
$sxml = simplexml_load_string($resultXML);
var_dump( (object)$sxml );