file_put_contents('/tmp/heat.log', var_export($mainArr, true),FILE_APPEND);转载于:https://www.cnblogs.com/a-flydog/p/5583606.html
本文介绍了一个使用PHP进行日志记录的例子,展示了如何通过file_put_contents函数将数组内容追加到指定文件中。
file_put_contents('/tmp/heat.log', var_export($mainArr, true),FILE_APPEND);转载于:https://www.cnblogs.com/a-flydog/p/5583606.html
326
1374

被折叠的 条评论
为什么被折叠?