void flush (void)
flush() flushes the output buffer
This attempts to push current output all the way to the browser.
※ available F/W version : all
None
No value is returned.
<?php
echo "<html>\r\n";
echo "<head>\r\n";
echo "<title> This is a sample web page</title>\r\n";
echo "<body>\r\n";
for($cnt = 0; $cnt < 100; $cnt++)
{
echo "This is a body[$cnt]: 0123456789ABCDEFGHIJKLMNOPQRSTUVWXZYabcdefghijklmnopqrstuvwxzy<br>";
if(!($cnt%100)) flush();
}
echo "</body>\r\n";
echo "</html>\r\n";
?>
None
This function is identical to the PHP group’s flush() function.