12 2024 档案

摘要:封装is_json函数判断是否JSON, // is_json('123'); AI回答,未匹配 function is_json($string) { json_decode($string); return (json_last_error() == JSON_ERROR_NONE); } 给出 阅读全文
posted @ 2024-12-28 18:12 钢锅 阅读(32) 评论(0) 推荐(0) 编辑