flush
flush
(PHP 4, PHP 5, PHP 7)
flush — Flush system output buffer
Description
void flush ( void )
Flushes the system write buffers of PHP and whatever backend PHP is using (CGI, a web server, etc). This attempts to push current output all the way to the browser with a few caveats.
flush() may not be able to override the buffering scheme of your web server and it has no effect on any client-side buffering in the browser. It also doesn't affect PHP's userspace output buffering mechanism. This means you will have to call both 登录查看完整内容