original_string: function highlight($text) {
  		$out='';
  		$pre=FALSE;
  		$text=trim($text);
  		if (!preg_match('/^<\?php/',$text)) {
  			$text='<?php '.$text;
  			$pre=TRUE;
  		}
  		foreach (token_get_all($text) as $token)
  			if ($pre)
  				$pre=FALSE;
  			else
  				$out.='<span'.
  					(is_array($token)?
  						(' class="'.
  							substr(strtolower(token_name($token[0])),2).'">'.
  							$this->encode($token[1]).''):
  						('>'.$this->encode($token))).
  					'</span>';
  		return $out?('<code>'.$out.'</code>'):$text;
  	}
code: function highlight($text) {
  		$out='';
  		$pre=FALSE;
  		$text=trim($text);
  		if (!preg_match('/^<\?php/',$text)) {
  			$text='<?php '.$text;
  			$pre=TRUE;
  		}
  		foreach (token_get_all($text) as $token)
  			if ($pre)
  				$pre=FALSE;
  			else
  				$out.='<span'.
  					(is_array($token)?
  						(' class="'.
  							substr(strtolower(token_name($token[0])),2).'">'.
  							$this->encode($token[1]).''):
  						('>'.$this->encode($token))).
  					'</span>';
  		return $out?('<code>'.$out.'</code>'):$text;
  	}
code_tokens: function highlight ( $ text ) { $ out = '' ; $ pre = FALSE ; $ text = trim ( $ text ) ; if ( ! preg_match ( '/^<\?php/' , $ text ) ) { $ text = '<?php ' . $ text ; $ pre = TRUE ; } foreach ( token_get_all ( $ text ) as $ token ) if ( $ pre ) $ pre = FALSE ; else $ out .= '<span' . ( is_array ( $ token ) ? ( ' class="' . substr ( strtolower ( token_name ( $ token [ 0 ] ) ) , 2 ) . '">' . $ this -> encode ( $ token [ 1 ] ) . '' ) : ( '>' . $ this -> encode ( $ token ) ) ) . '</span>' ; return $ out ? ( '<code>' . $ out . '</code>' ) : $ text ; }
docstring: Apply syntax highlighting
  @return string
  @param $text string
docstring_tokens: Apply syntax highlighting