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

Needs support for constant scalar constants #62

Open infoeon opened 9 years ago

infoeon commented 9 years ago

Currently get exception on something like this:

class Test{ const MyConstant = 1000 \ 24; }

Gives errors such as: "Invalid value definition" and "The cause of the exception was the T_POW token"

http://php.net/manual/en/migration56.new-features.php