original_string: public static function link($url, $text, array $attributes = null) {
          $attributes = (array)$attributes;
          $attributes['href']  = $url;
          return self::tag('a', $text, $attributes);
      }
code: public static function link($url, $text, array $attributes = null) {
          $attributes = (array)$attributes;
          $attributes['href']  = $url;
          return self::tag('a', $text, $attributes);
      }
code_tokens: public static function link ( $ url , $ text , array $ attributes = null ) { $ attributes = ( array ) $ attributes ; $ attributes [ 'href' ] = $ url ; return self :: tag ( 'a' , $ text , $ attributes ) ; }
docstring: Generates a simple html link
  
  @param string|moodle_url $url The URL
  @param string $text The text
  @param array $attributes HTML attributes
  @return string HTML fragment
docstring_tokens: Generates a simple html link