PHP - Loops
In PHP nested loops, how do you skip the current iteration of the outer loop from within the inner loop?
In PHP nested loops, how do you skip the current iteration of the outer loop from within the inner loop?
continue can take a numeric argument to specify how many levels of loops to skip.continue 2;continue 2; inside the inner loop skips the current iteration of the outer loop.continue 2; -> Option Ccontinue 2; [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions