function headersSent(&$file = null, &$line = null) { if (!Daemon::$context instanceof \PHPDaemon\Request\Generic) { return false; } return Daemon::$context->headers_sent($file, $line); }