PHP provides built-in support to display PHP code with highlighted syntax.
However, if you want to highlight code for PHP 5 or later using PHP 4, it may not work, as the highlighting functions may fail because PHP 5 syntax is invalid under PHP 4.
This class provides an alternative solution based on replacing code with syntax highlighting tags using PHP version independent regular expressions.