Current Location: Home> Function Categories> ob_end_flush

ob_end_flush

Refresh (send) the output buffer and turn off the output buffer
Name:ob_end_flush
Category:Output buffer control
Programming Language:php
One-line Description:Delete the top output buffer and output its contents.

Definition and usage

ob_end_flush() function deletes the top-most output buffer and outputs all its contents. The output may be captured by another output buffer, or, if there is no other output buffer, sent directly to the browser.

Example

Delete the output buffer and send its contents to the browser:

 <?php  
ob_start ( ) ;  
echo "This part of the output will be sent to the browser" ;  
ob_end_flush ( ) ;  
?>

Try it yourself

grammar

 ob_end_flush ( ) ;
Similar Functions
Popular Articles