PHP接收json字符串时被转义解决方法 --- 2023-07
2023-07-30 本文已影响0人
一位先生_
$info = request()->post("info");
$info = htmlspecialchars_decode($info);
$info = html_entity_decode($info);
$info = json_decode($info ,true);
$info = request()->post("info");
$info = htmlspecialchars_decode($info);
$info = html_entity_decode($info);
$info = json_decode($info ,true);