A DOM for PHP
PHP provides the function token_get_all() for working with PHP source code, however it is too low level and requires a lot of work to extract information about the source code. In this article, it shows why token_get_all() is inadequate and introduces a higher level approach using Pharborist to working with source code.