ob_flush
ob_flush
(PHP 4 >= 4.2.0, PHP 5, PHP 7)
ob_flush — Flush (send) the output buffer
Description
void ob_flush ( void )
This function will send the contents of the output buffer (if any). If you want to further process the buffer's contents you have to call ob
_
get_
contents() before ob
_
flush()
as the buffer contents are discarded after ob
_
flush()
is called.
This function does not destroy the output buffer like ob_end_flush() does.
Return Values
No value is returned.
See Also
- ob_get_contents() - Return the contents of the output buffer
- ob_clean() - Clean (erase) the output buffer
- ob_end_flush() - Flush (send) the output buffer and turn off output buffering
- ob_end_clean() - Clean (erase) the output buffer and turn off output buffering
← ob_end_flush
ob_get_clean →
© 1997–2017 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.