有时候在前台用JSON.stringify将数组内容格式化成json数据传回后台,在用json_decode处理时总是显示空白。 $param = htmlspecialchars_decode($param)