普遍用法$str = '';json_encode($str,JSON_UNESCAPED_UNICODE); //中文不转为unicode ,对应的数字 256json_encode($str,JSON_UNESCAPED_SLASHES); //不转义反斜杠,对应的数字 64特殊用法json_encode($str,320);//可同时附带2个常量的效果,即256+64 Last modification:September 29, 2021 © Allow specification reprint Support Appreciate the author AliPayWeChat Like 988 如果觉得我的文章对你有用,请随意赞赏
Comment here is closed