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

Infinite loops when reach EOF #106

Closed
ichiriac opened this issue Dec 27, 2017 · 0 comments
Closed

Infinite loops when reach EOF #106

ichiriac opened this issue Dec 27, 2017 · 0 comments
Assignees
Milestone

Comments

@ichiriac
Copy link
Member

This kind of code raise an infinite loop from the lexer :

<?php echo "$

Also :

<?php echo "{

Reason : from the lexer using unput after a input that reached the EOF results into comming back on last char, so the lexer never reaches the end

@ichiriac ichiriac self-assigned this Dec 27, 2017
ichiriac added a commit that referenced this issue Dec 27, 2017
@ichiriac ichiriac added this to the 2.2.0 milestone Mar 19, 2018
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