headers_sent

(3.0.8 - 3.0.18 only, PHP 4 >= 4.0.0)

headers_sent -- Returns TRUE if headers have been sent

Description

bool headers_sent (void)

This function returns TRUE if the HTTP headers have already been sent, FALSE otherwise.

See also header()