headers_sent

(PHP 3>= 3.0.8, PHP 4 )

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()