$testJSON=array('name'=>'中文字符串','value'=>'test');
echo json_encode($testJSON, JSON_UNESCAPED_UNICODE);
输出:{"name":"中文字符串","value":"test"}
$testJSON=array('name'=>'中文字符串','value'=>'test');
echo json_encode($testJSON, JSON_UNESCAPED_UNICODE);
输出:{"name":"中文字符串","value":"test"}