1, flush(), example:

for( $i = 0; $i < 3; $i++ ) { print("OK<BR"); flush(); sleep(1); }

2, ob_start, bool ob_start ( [callback output_callback])
callback function will be called when ob_end_flush() is called.

3,bool ob_end_flush ( void )

4, ob_get_flush will return the buffer as string

5, ob_get_length will return the size of the buffer.

6, ob_clearn

7, ob_end_clean

8, ob_flush()

转载于:https://www.cnblogs.com/Hacker/archive/2004/07/30/28551.html

原文链接:https://blog.csdn.net/weixin_30342827/article/details/95166592

本站声明:网站内容来源于网络,如有侵权,请联系我们,我们将及时处理。

本博客所有文章如无特别注明均为原创。
复制或转载请以超链接形式注明转自起风了,原文地址《PHP学习笔记(3)- Output control,基本篇完结,剩下的就是各个函数了。[]
   

还没有人抢沙发呢~