original_string: public function getHost()
      {
          $host = $this->getServer('HTTP_HOST') ?: $this->getServer('SERVER_NAME') ?: $this->getServer('REMOTE_ADDR');
          return preg_replace('/:\d+$/', '', $host);
      }
code: public function getHost()
      {
          $host = $this->getServer('HTTP_HOST') ?: $this->getServer('SERVER_NAME') ?: $this->getServer('REMOTE_ADDR');
          return preg_replace('/:\d+$/', '', $host);
      }
code_tokens: public function getHost ( ) { $ host = $ this -> getServer ( 'HTTP_HOST' ) ? : $ this -> getServer ( 'SERVER_NAME' ) ? : $ this -> getServer ( 'REMOTE_ADDR' ) ; return preg_replace ( '/:\d+$/' , '' , $ host ) ; }
docstring: Returns the request host
  
  @return string
docstring_tokens: Returns the request host