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":"未知错误"}