original_string: public static function sendHeader($header, $replace = true)
      {
          // don't send header in CLI mode
          if (!Common::isPhpCliMode() and !headers_sent()) {
              header($header, $replace);
          }
      }
code: public static function sendHeader($header, $replace = true)
      {
          // don't send header in CLI mode
          if (!Common::isPhpCliMode() and !headers_sent()) {
              header($header, $replace);
          }
      }
code_tokens: public static function sendHeader ( $ header , $ replace = true ) { // don't send header in CLI mode if ( ! Common :: isPhpCliMode ( ) and ! headers_sent ( ) ) { header ( $ header , $ replace ) ; } }
docstring: Sets outgoing header.
  
  @param string $header The header.
  @param bool $replace Whether to replace existing or not.
docstring_tokens: Sets outgoing header .