On Tue, May 3, 2011 at 10:25 AM, Paul Houle paul@ontology2.com wrote:
Note that there is a PHP tokenizer built into PHP which makes it straightforward to develop tools like this in PHP:
http://php.net/manual/en/book.tokenizer.php
A practical example can be found here
We have a practical example too:
http://svn.wikimedia.org/viewvc/mediawiki/trunk/tools/code-utils/stylize.php...