Name
headers_sent
Synopsis
bool headers_sent([ string &file
[, int &line
]] )
Returns true
if the HTTP
headers have already been sent. If they have not yet been sent, the
function returns false
. If
file
and line
options are provided, the filename and the line number where the
output began are placed in file
and
line
variables.
Get Programming PHP, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.