I need a class, preferably written in PHP, C # or Python, that can parse PHP and return a token tree. Can anyone suggest a good, accurate one?
Leave PHP to have your own function: http://php.net/token_get_all