ob_end_clean

(PHP 4 >= 4.0b1)

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

Description

void ob_end_clean ()

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

See also ob_start() and ob_end_flush().