早睡早起,方能养生
Sleep early rise early, way to keep healthy

PHP json_encode 时/和中文不转义

super
2022-11-10 21:11
views 1537

$data = [
	'name' => '孤风',
	'url' => 'https://rongsp.com'
];
json_encode($data, JSON_UNESCAPED_SLASHES|JSON_UNESCAPED_UNICODE);

 

在线运行

 



分享
0 条讨论
top