question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

bug in parser with staticlookup nodes

See original GitHub issue

Input:

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

Output:

 SyntaxError: Parse Error : syntax error, unexpected '::' (T_DOUBLE_COLON), expecting ';' on line 38

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
ichiriaccommented, Sep 8, 2018

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

1reaction
ichiriaccommented, Sep 30, 2018

released under 3.0.0-prerelease5

Read more comments on GitHub >

github_iconTop Results From Across the Web

Changelog - php-parser
Fix #86 : bug on Object properties usage in PHP like __proto__ , or constructor. Fix #84 : remove null statements from bodies ......
Read more >
php-parser/CHANGELOG and php-parser Releases | LibHunt
:herb: NodeJS PHP Parser - extract AST or tokens ... with node location for static node; #192 : [bug] encapsed and staticlookup; #180...
Read more >
URL Parsing-Library Bugs Allow DoS, RCE, Spoofing & More
Team82 and Synk examined 16 different URL parsing libraries, including: urllib (Python), urllib3 (Python), rfc3986 (Python), httptools (Python), ...
Read more >
6.035 Notes
Parser converts a program into a parse tree, usually through an abstract syntax ... Static lookup is done at compile time for type...
Read more >
https://opensource.apple.com/source/WebCore/WebCor...
Whatever we do will be done separately from this bug. ... In particular, when the text node's parent has no line boxes but...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found