Community
Participate
Working Groups
Example: while(true) { continue 'what_ever'; } Now: no errors Expected: fatal error: 'break' operator accepts only positive numbers
I think we can easy do this via our ValidatorVisitor.
Yes, but only for php >= 5.4 ;) Following code was valid and made no error using php < 5.4 (evaluated at runtime): <?php $j = -1; while(true) { break $j; } ?> With php >= 5.4, 'break' operator with non-constant operand is no longer supported
New Gerrit change created: https://git.eclipse.org/r/120510
Gerrit change https://git.eclipse.org/r/120510 was merged to [master]. Commit: http://git.eclipse.org/c/pdt/org.eclipse.pdt.git/commit/?id=c43cf9a3b03ae289d8219ed0a236df7d487eef01