original_string: private static function isStandardPort($port, $scheme = null, $host = null)
      {
          if ($host === null || $scheme === null) {
              return false;
          }
  
          return array_key_exists($scheme, static::$schemes) && $port === static::$schemes[$scheme];
      }
code: private static function isStandardPort($port, $scheme = null, $host = null)
      {
          if ($host === null || $scheme === null) {
              return false;
          }
  
          return array_key_exists($scheme, static::$schemes) && $port === static::$schemes[$scheme];
      }
code_tokens: private static function isStandardPort ( $ port , $ scheme = null , $ host = null ) { if ( $ host === null || $ scheme === null ) { return false ; } return array_key_exists ( $ scheme , static :: $ schemes ) && $ port === static :: $ schemes [ $ scheme ] ; }
docstring: Is a given port standard for the current scheme?
  
  @param int    $port
  @param string $scheme
  @param string $host
  
  @return bool
docstring_tokens: Is a given port standard for the current scheme?