发布于 2016-11-18 14:28:56 | 81 次阅读 | 评论: 0 | 来源: 网络整理
fflush() 函数向打开的文件写入所有的缓冲输出。
如果成功则返回 TRUE,如果失败则返回 FALSE。
fflush(file)
<?php $file = fopen("test.txt","r+"); // some code fflush($file); ?>