PHP function ob_end_clean()

Availability in PHP 4.0

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

Parameters

The function has no input parameters.

Return values

bool

Returns true on success, otherwise false on failure. Reasons for failure are first that you called the function without an active buffer or that for some reason a buffer could not be deleted (possible for special buffer).

Other resources

Official ob-end-clean documentation

Newsletter

Nejlepsi tipy a triky o PHP do Vaseho e-mailu. Clanky a novinky nejen ze sveta PHP a programovani.