I am new to PHP and saw the code below online. It has continue 2 and break together in switch/case statement. What does it mean?
continue 2
break
switch/case
continue accepts an optional numeric argument which tells it how many levels of enclosing loops it should skip to the end of. The default value is 1, thus skipping to the end of the current loop.
Source: http://php.net/manual/en/control-structures.continue.php