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

ob_implicit_flush

Description

The ob_implicit_flush of Output Control for PHP turn implicit flush on/off.

Syntax

ob_implicit_flush(bool $enable = true): void

Parameters

enable

true to turn implicit flushing on, false otherwise.

Return

No value is returned.

Examples

1 · void

<?

ob_start();

ob_implicit_flush();

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

?>
output1