(PHP 5, PHP 7)
Interprets a string of XML into an object
SimpleXMLElement simplexml_load_string ( string $data [, string $class_name = "SimpleXMLElement" [, int $options = 0 [, string $ns = "" [, bool $is_prefix = false ]]]] )
Takes a well-formed XML string and returns it as an object.
Parameters:
data
A well-formed XML string
class_name