I understand that the headers_sent() function will tell me whether headers have been sent or not. What I do not understand is what triggers the headers to be sent to the browser in the first place. Does this happen as soon as the first output occurs?