original_string: function _filterHost($host)
      {
          if (strstr($host, ':') !== false)
              throw new \InvalidArgumentException('Host name can`t contains port number.');
  
          $host = strtolower($host);
          return $host;
      }
code: function _filterHost($host)
      {
          if (strstr($host, ':') !== false)
              throw new \InvalidArgumentException('Host name can`t contains port number.');
  
          $host = strtolower($host);
          return $host;
      }
code_tokens: function _filterHost ( $ host ) { if ( strstr ( $ host , ':' ) !== false ) throw new \ InvalidArgumentException ( 'Host name can`t contains port number.' ) ; $ host = strtolower ( $ host ) ; return $ host ; }
docstring: Validate and Filter host value
  @param string $host
  @return string normalized value
docstring_tokens: Validate and Filter host value