simplexml_load_string xml convert object
带CDATA防转义XML转对象,需要先去除CDATA字符

	$xmlCDATA = <<<CDATA
	<xml>
	<data><![CDATA[value]]></data>
	</xml>
CDATA;
simplexml_load_string($xmlCDATA,'SimpleXMLElement',LIBXML_NOCDATA);//return object

普通不带CDATA转义则

$xml = <<<XML
	<xml>
	<data>value></data>
	</xml>
XML;
simplexml_load_string($xml);//return object