file_put_contents之用途

来源:互联网 发布:网络发帖推广 编辑:程序博客网 时间:2024/05/01 17:19

file_put_contents('d:/3.txt', var_export($licai_presona1, true) . "\n", FILE_APPEND);


可以在windows系统中实现类似tail -f xxx.txt功能,非常适合调试程序,尤其是比如webService接口中不能var_dump的程序

0 0