If you want to check whether your script has already sent headers then which of the following can be used?
header()
setcookie()
headers_sent()
sent()