- 博客(2)
- 资源 (7)
- 收藏
- 关注
转载 重写json_encode()函数
重写json_encode()函数实际应用中,当有中文字符时,当直接使用json_encode() 函数会使汉字不能正常显示。 所以有了这个适用性比较广的函数 ch_json_encode() 来解决这个问题。function ch_json_encode($data){ function ch_urlencode($data) { if (is_array($data) ||
2016-07-29 17:27:00 855
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人