token_get_all() has very strange output. Basically, you get an array of arrays, where it will say T_STRING, 'some_function_name', line. Okay, so what use it it to me that I know that 'some_function_name' is a "T_STRING"? There is nothing that indicates that it's actually a function name.
Or am I missing something?