original_string: public static function tag($tag, $text = '', array $attributes = NULL)
      {
          $autoClose = array('input', 'br', 'hr', 'img', 'col', 'area', 'base', 'link', 'meta', 'frame', 'param');
          return "<$tag" . self::attributes($attributes) . (in_array($tag, $autoClose) ? ' />' : ">$text</$tag>");
      }
code: public static function tag($tag, $text = '', array $attributes = NULL)
      {
          $autoClose = array('input', 'br', 'hr', 'img', 'col', 'area', 'base', 'link', 'meta', 'frame', 'param');
          return "<$tag" . self::attributes($attributes) . (in_array($tag, $autoClose) ? ' />' : ">$text</$tag>");
      }
code_tokens: public static function tag ( $ tag , $ text = '' , array $ attributes = NULL ) { $ autoClose = array ( 'input' , 'br' , 'hr' , 'img' , 'col' , 'area' , 'base' , 'link' , 'meta' , 'frame' , 'param' ) ; return "<$tag" . self :: attributes ( $ attributes ) . ( in_array ( $ tag , $ autoClose ) ? ' />' : ">$text</$tag>" ) ; }
docstring: Create an HTML tag
  
  @param string $tag the tag name
  @param string $text the text to insert between the tags
  @param array $attributes of additional tag settings
  @return string
docstring_tokens: Create an HTML tag