Skip to content

continue(1) and break(1) should not be syntax errors #195

@sunverwerth

Description

@sunverwerth

continue

The optional numeric constant for break and continue statements can be enclosed in parentheses which is erroneously reported as a syntax error:

';' expected.

See here: http://sandbox.onlinephpfunctions.com/code/19bee6f4f7dc93a6a146950fd9877a438c131897

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue identified by VS Code Team member as probable bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions