把PHP数组转成JSON字符串 $json_string = json_encode($data); // 写入文件 file_put_contents('user.json', $json_string); ?> 2、将JSON文件的数据 ...
確定! 回上一頁