Greg Beaver has posted a quick note about the latest release of his PHP_LexerGenerator package through the main PEAR website - version 0.2.2.
I just released version 0.2.2 of PHP_LexerGenerator. This release fixes two bugs, one where / characters were erroneously being replaced by characters in regular expressions, and another where lexers with no %statename processing instruction were outputting "const 1=1;" which is invalid PHP.
You can grab this latest release directly from the package's homepage.