wp-cli/php-cli-tools — pull request #3 by drakson (2014-06-16 13:00:06+00:00)
Title: Fixed static variable in class Lexer.

Static variables are shared between objects. In this case, we dont want this behaviour because each object has his own different properties.

To test it out, just create 2 Lexer objects and try to do 2 foreach with each one. The second object will be bugged in his loop.

This can also be tested calling 'parse' function at least twice in the same runtime.