header('Content-type: text/html;charset=utf-8');
$s =<<< XML
<?xml version="1.0" encoding="utf-8"?>
<string xmlns="SuperMarketService">{"status":"failed","result":"未知错误"}</string>
XML;$x = @simplexml_load_string($s);
echo $x[0];{"status":"failed","result":"未知错误"}
$s =<<< XML
<?xml version="1.0" encoding="utf-8"?>
<string xmlns="SuperMarketService">{"status":"failed","result":"未知错误"}</string>
XML;$x = @simplexml_load_string($s);
echo $x[0];{"status":"failed","result":"未知错误"}
<?xml version="1.0" encoding="utf-8"?>
<string xmlns="SuperMarketService">{"status":"failed","result":"未知错误"}</string>
XML;
echo strip_tags($s);
require_once 'xxx.php'