PHP parser written in Python using PLY