original_string: private static function isFileNamePatternMatch($name, $pattern, $options) {
      if (in_array($name, static::$excluded_file_names)) {
        return false;
      }
  
      $fnmatch_flags = 0;
      if ($options & GLOB_NOESCAPE) {
        $fnmatch_flags |= FNM_NOESCAPE;
      }
  
      return fnmatch($pattern, $name, $fnmatch_flags);
    }
code: private static function isFileNamePatternMatch($name, $pattern, $options) {
      if (in_array($name, static::$excluded_file_names)) {
        return false;
      }
  
      $fnmatch_flags = 0;
      if ($options & GLOB_NOESCAPE) {
        $fnmatch_flags |= FNM_NOESCAPE;
      }
  
      return fnmatch($pattern, $name, $fnmatch_flags);
    }
code_tokens: private static function isFileNamePatternMatch ( $ name , $ pattern , $ options ) { if ( in_array ( $ name , static :: $ excluded_file_names ) ) { return false ; } $ fnmatch_flags = 0 ; if ( $ options & GLOB_NOESCAPE ) { $ fnmatch_flags |= FNM_NOESCAPE ; } return fnmatch ( $ pattern , $ name , $ fnmatch_flags ) ; }
docstring: Check if a file name matches the specified glob pattern.
  
  @param string $name The file name
  @param string $pattern The pattern to match against.
  @param int $options The flags passed to glob().
  @return boolean True if there is a match, false otherwise.
docstring_tokens: Check if a file name matches the specified glob pattern .