file_put_contents 换行时间:2023-06-13 22:27:59 file_put_contents('test.text', json_encode($result) . PHP_EOL, FILE_APPEND);