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

bad foreach support #122

Closed
ichiriac opened this issue Feb 26, 2018 · 1 comment
Closed

bad foreach support #122

ichiriac opened this issue Feb 26, 2018 · 1 comment

Comments

@ichiriac
Copy link
Member

This syntax should not be valid :

<?php foreach($a as array($b, $c)) { }

NOTE : T_ARRAY should not be supported

@ichiriac ichiriac self-assigned this Feb 26, 2018
@ichiriac ichiriac added this to the 3.1.0 milestone Apr 14, 2018
ichiriac added a commit that referenced this issue Jul 28, 2018
@ichiriac
Copy link
Member Author

This fix is now relased under 3.0.0-alpha.3

@ichiriac ichiriac modified the milestones: 3.1.0, 3.0.0 - stable Jan 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant