ob_implicit_flush
(PHP 4, PHP 5, PHP 7, PHP 8)
Turn implicit flush on/off
Description
ob_implicit_flush() will turn implicit flushing on or off. Implicit flushing will result in a flush operation after every block of code resulting in output, so that explicit calls to flush() will no longer be needed.
Printing empty strings or sending headers is not considered output and will not result in a flush operation.
This function does not have any effect on user level output handlers such as those started by ob_start() or output_add_rewrite_var().
Parameters
enabletrue to turn implicit flushing on, false otherwise.
Return Values
Void
Changelog
| Version | Description |
|---|---|
| 8.0.0 | The enable expects a bool value now; previously, an int was expected. |