Create a new Highlighter object for specified language
public static factory ( string $lang, array $options = [] ) : mixed | ||
$lang | string | language, for example "SQL" |
$options | array | Rendering options. This parameter is only keeped for BC reasons, use {@link Text_Highlighter::setRenderer()} instead |
return | mixed | a newly created Highlighter object, or a PEAR error object on error |