当使用echo json_encode($array,JSON_UNESCAPED_UNICODE);
我得到这个错误
Warning: json_encode() expects exactly 1 parameter,2 given
您的PHP版本可能太低:
http://php.net/manual/en/function.json-encode.php
string json_encode ( mixed $value [,int $options = 0 ] ) 5.3.0 The options parameter was added