iphp
iphp copied to clipboard
Parse all commands with token_get_all to figure out intent
This helps us solve gh-4, gh-5, gh-8, gh-9
If we run all input thru the tokenizer, we should be able to figure out where we're at in the current scope to improve auto-complete, allow multiline functions, tell if things have return values, etc.
http://us.php.net/manual/en/tokens.php