PHP Output Control ob_end_clean() Function

PHP Output Control Functions : Delete an output buffer without sending its contents to the browser

Definition and Usage

The ob_end_clean() function deletes the topmost output buffer and all of its contents without sending anything to the browser.

Syntax

ob_end_clean();

Technical Details

Return Value: Returns true if the operation was successful or false if it failed
PHP Version: 4+

❮ PHP Output Control Functions