file_put_contents("c:1.log","输出字符串",FILE_APPEND);第三个参数是防止前面的内容被覆盖
error_log(print_r($arr,1),3,"c:/1.log");