wimg/PHPCompatibility — pull request #6 by stronk7 (2013-02-11 11:38:38+00:00)
Title: CONTRIB-4149 Improve define/defined handling

This avoids zillions of unnecesary findNext() calls, that
for big files have a very negative impact. Instead, let's
handle it progresively (current token).

Detected when incorporating your sniffs to our codechecker:

https://tracker.moodle.org/browse/CONTRIB-4149

Ciao :-)