ob_end_clean

(PHP 4 >= 4.0.0)

ob_end_clean --  Clean (erase) the output buffer and turn off output buffering

Description

void ob_end_clean (void)

This function discards the contents of the output buffer and turns off output buffering.

See also ob_start() and ob_end_flush().