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

do/while loop doesn't work. #125

Open
bidah opened this issue Oct 18, 2016 · 1 comment
Open

do/while loop doesn't work. #125

bidah opened this issue Oct 18, 2016 · 1 comment

Comments

@bidah
Copy link

bidah commented Oct 18, 2016

Trying out a do/while loop I get this error.

[26] boris> do {
[26]     *>   $total += $i++;
[26]     *> } while($i <= 10);
PHP Parse error:  syntax error, unexpected end of file, expecting while (T_WHILE) in /Users/rodrigofigueroa1/.composer/vendor/d11wtq/boris/lib/Boris/EvalWorker.php(152) : eval()'d code on line 3
@bidah
Copy link
Author

bidah commented Oct 18, 2016

any ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant