PHP fflush() 函数

PHP 教程 · 2019-01-24 19:56:34

定义和用法

fflush() 函数向打开的文件写入所有的缓冲输出。

如果成功则返回 TRUE,如果失败则返回 FALSE。

语法


fflush(file)


参数 描述
file 必需。规定要检查的打开文件流。

实例


<?php
$file = fopen("test.txt","r+");
// some code
fflush($file);
?> 


点击查看所有 PHP 教程 文章: https://codercto.com/courses/l/5.html

查看所有标签

Java Message Service API Tutorial and Reference

Java Message Service API Tutorial and Reference

Hapner, Mark; Burridge, Rich; Sharma, Rahul / 2002-2 / $ 56.49

Java Message Service (JMS) represents a powerful solution for communicating between Java enterprise applications, software components, and legacy systems. In this authoritative tutorial and comprehens......一起来看看 《Java Message Service API Tutorial and Reference》 这本书的介绍吧!

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

URL 编码/解码
URL 编码/解码

URL 编码/解码

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具