Skip to content
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

PHP parse error on 'for' class method #3590

Closed
mschwager opened this issue Jul 22, 2021 · 2 comments
Closed

PHP parse error on 'for' class method #3590

mschwager opened this issue Jul 22, 2021 · 2 comments
Labels
alpha Relates to an experimental feature bug Something isn't working good first task Would take a bit longer to fix than "good first issue" lang:php

Comments

@mschwager
Copy link
Contributor

https://semgrep.dev/s/X8y4/

@mschwager
Copy link
Contributor Author

Same with 'await' https://semgrep.dev/s/96Qz/.

@nbrahms nbrahms added the alpha Relates to an experimental feature label Nov 8, 2021
@aryx aryx added the good first task Would take a bit longer to fix than "good first issue" label Feb 17, 2022
@aryx
Copy link
Collaborator

aryx commented May 31, 2022

works now (if you remove the protected keyword or put the example inside a class).

@aryx aryx closed this as completed May 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
alpha Relates to an experimental feature bug Something isn't working good first task Would take a bit longer to fix than "good first issue" lang:php
Development

No branches or pull requests

3 participants