Andrewsville / PHP-Token-Reflection

Library emulating the PHP internal reflection using just the tokenized source code
http://andrewsville.github.com/PHP-Token-Reflection/
Other
190 stars 44 forks source link

Parse Exception #70

Open Sunshine4209 opened 9 years ago

Sunshine4209 commented 9 years ago

Hello, I am using use function namespace\function_name; in my code and I get a ParseException.

TokenName: “T_function” message: Imported namespace name could not be determined.

xdebug_message: TokenReflection\Exception\ParseException: Imported namespace name could not be determined. in /vendor/andrewsville/php-token-reflection/TokenReflection/ReflectionFileNamespace.php on line 227.

am I doing something wrong?

thanks