PHP.nl

ob_clean

ob_clean

Clean (erase) the contents of the active output buffer

bool **ob_clean**

This function calls the output handler (with the flag), discards it's return value and cleans (erases) the contents of the active output buffer. PHP_OUTPUT_HANDLER_CLEAN

This function does not turn off the active output buffer like or does. ob_end_clean``ob_get_clean

will fail

without an active output buffer started with the flag. ob_clean``PHP_OUTPUT_HANDLER_CLEANABLE

return.success

If the function fails it generates an . E_NOTICE

ob_start``ob_get_contents``ob_end_clean``ob_get_clean``ob_flush