Paul Houle wrote:
Note that there is a PHP tokenizer built into PHP
which makes it
straightforward to develop tools like this in PHP:
A practical example can be found here
Now, it would be nice to have a parser available that can see the
The tokenizer is slow. It's not worth taking it out for this.