PHP json_encode 时/和中文不转义
super
2022-11-10 21:11
1537
$data = [
'name' => '孤风',
'url' => 'https://rongsp.com'
];
json_encode($data, JSON_UNESCAPED_SLASHES|JSON_UNESCAPED_UNICODE);
0 条讨论