PHP-Parser 5.0.1
Changed
- Added check to detect use of PHP-Parser with libraries that define
T_*
compatibility tokens with incorrect type (such as string instead of int). This would lead toTypeError
s down the line. Now anError
will be thrown early to indicate the problem.