Skip to content

do/while loop doesn't work. #125

@bidah

Description

@bidah

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions