PHParser
A Lexer and a Parser to PHP scripts
PHParser 1.2 generates a pure Java parser for PHP programs. Invoking this parser yields an explicit parse tree (AST) and a tree walker suitable for further analysis.
This tool package is based upon:
- ANTLR 3.2 or higher (www.antlr.org).
- JDK 1.6 or higher (java.sun.com).
- Grammar specifications of PHP 5.3.