In my other article where I share about break and continue statements, there might seem to be something missing or incomplete.
In my other article where I share about
continue statements, there might seem to be something missing or incomplete.
If you notice, those statements can only be used in a loop or rather, can only be used by the innermost loop in nested loops. So, does that mean the two statements cannot target the outer loop? Can’t they be used to break out of the parent loop or skip an iteration of the parent loop instead of the loop they are in?
label statement which allows us to identify a statement which can then be referred to.
It can be applied to any statements. Once the labeling is done, it acts as an identifier that can be referred to elsewhere in the program.
label name and a colon, and then followed by the statements themselves.
What is PHP: - Who invented PHP, how it works, answers to all such questions about PHP, and much other information, you are going to