PHP ob_end_flush() Function
❮ PHP Output Control Functions
Example
Delete an output buffer and send its contents to the browser:
<?php
ob_start();
echo "This output will be sent to the browser";
ob_end_flush();
?>
Try it Yourself »
Definition and Usage
The ob_end_flush()
function deletes the topmost output buffer and outputs all of its
contents. The output may be caught by another output buffer, or, if there are no other
output buffers, sent directly to the browser.
Syntax
ob_end_flush();
Technical Details
Return Value: | Returns true if the operation was successful or false if it failed |
---|---|
PHP Version: | 4+ |
❮ PHP Output Control Functions
Copyright 1999-2023 by Refsnes Data. All Rights Reserved.