-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TokensAnalyzer - fix isConstantInvocation #3913
Conversation
I disagree: https://3v4l.org/PCZG4 Tricky and silly edge case, but still |
@Slamdunk in line 3 In line 5 |
we don't have a similar issue with |
@SpacePossum it seems not to be valid syntax: https://3v4l.org/RNv7L |
What about echo "{$foo[BAR]}"; Is that already covered? I don't see that case tested. Does it make sense to add? |
@dmvdbrugge added your test case. |
c0253ea
to
53b196c
Compare
Thank you @gharlan. |
bar
is not a constant in this case.