Php-parser: bug in parser with staticlookup nodes

Created on 7 Sep 2018  路  5Comments  路  Source: glayzzle/php-parser

Input:

($a->b)::call();

Output:

 SyntaxError: Parse Error : syntax error, unexpected '::' (T_DOUBLE_COLON), expecting ';' on line 38
bug PARSER RELEASE-READY

Most helpful comment

Hi @evilebottnawi, it should be fixed, can you confirm with your tests, I'll release it in few days

All 5 comments

Hi @evilebottnawi, it should be fixed, can you confirm with your tests, I'll release it in few days

@ichiriac looks bug still exists in latest released version

It was fixed but not yet released - will be done in prerelease 5 - you can try out with the latest commit or from the online parser release on https://glayzzle.com/

@ichiriac :+1: Wait release

released under 3.0.0-prerelease5

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mgrip picture mgrip  路  3Comments

alexander-akait picture alexander-akait  路  3Comments

alexander-akait picture alexander-akait  路  8Comments

alexander-akait picture alexander-akait  路  7Comments

alexander-akait picture alexander-akait  路  7Comments