Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

flush

Description

The flush of Output Control for PHP flush system output buffer.

Syntax

flush(): void

Return

No value is returned.

Examples

1 · void

<?

ob_start();

for($i = 1; $i <= 3; ++$i)
{
    echo str_pad("output$i", 1024*1024);
    ob_flush();
    flush();
    sleep(1);
}

?>
output1