Fixing the ‘continue’ Warning in PHP Switch Statements
warning: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”? Yes, the warning message you encountered is indicating that the use of the continue statement within a switch statement is equivalent to using break instead. To avoid the warning, you can modify the continue statement to continue 2 if you…
