1 2 3 4
phply is a parser for the PHP programming language written using PLY, a Lex/YACC-style parser generator toolkit for Python. See README.Slackware for some usage notes.