Illegal continue statement?

If you want to continue with the next loop iteration, you want return, not continue, as what you’re passing to each is a function.

In a comment you mentioned being familiar wih the C# foreach loop, hence wanting to use continue. The difference is that wih C#’s foreach, you’re dealing with an actual loop construct, whereas each is actually calling a function for each loop iteration, so it’s not (at a language level) a loop, so you can’t continue it.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)