continue operator accepts only positive integers
Description
continue indicates the number of nested loop to continue in. The minimum is 1. 0 would be a no operation, and shall be skipped. Negative numbers or decimals make no sense.
Example
<?php
$a = [];
foreach($a as $b) {
continue 0;
}
?>
Alternatives
- Remove the continue command.
- Remove the 0.