simplexml_load_string

 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.

戻り値

Returns an object of class SimpleXMLElement with properties containing the data held within the xml document, or FALSE on failure.