php lang Javascript geshi new GeSHi source lang geshi- enable_line_num

1
2
3
4
5
6
7
8
9
<?php
$lang = "Javascript";
$geshi = new GeSHi($source, $lang);
$geshi->enable_line_numbers(GESHI_NORMAL_LINE_NUMBERS);
echo $geshi->parse_code();
?>