PHP Parser ========== This is a PHP 5.5 (and older) parser written in PHP. It's purpose is to simplify static code analysis and manipulation. [**Documentation for version 0.9.x**][doc_0_9] (current stable). [Documentation for version 1.0-dev][doc_master] (for >= PHP 5.3, using namespaced names, but compatible with old names). ***Note: This project is experimental, so the API is subject to change.*** In a Nutshell ------------- Basically, the parser does nothing more than turn some PHP code into an abstract syntax tree. ("nothing more" is kind of sarcastic here as PHP has a ... uhm, let's just say "not nice" ... grammar, which makes parsing PHP very hard.) For example, if you stick this code in the parser: ```php