How to parse and tokenize a complete PHP project
Note: This article was originally published at Planet PHP
on 25 September 2011.
Yesterday I had to loop through every directory in a whole PHP project and go through all the PHP files in order to get at their contents, the goal was to get information from each file in order to create an array looking like this for each class method:... Read More


