
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