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

ob_end_flush

Description

The ob_end_flush of Output Control for PHP flush (send) the output buffer and turn off output buffering.

Syntax

ob_end_flush(): bool

Return

Returns true on success or false on failure. Reasons for failure are first that you called the function without an active buffer or that for some reason a buffer could not be deleted (possible for special buffer).

Examples

1 · return

<?

ob_start();

    echo 'output';

$return = ob_end_flush();

var_export($return);

?>
outputtrue

2 · output

<?

ob_start();

    echo 'output';

ob_end_flush();

?>
output
HomeMenu