title: php: Use case for break(n) and continue(n)?
body: <p>I'm reading "Programming PHP" and came across the break(n) and continue(n) statements.</p>
  
  <p>break(n) I guess I could see some use for, but continue(n) blew my mind- when would you use that? The example in the book for continue(n) is totally arbitrary and it doesn't even bother to propose a real world example of where its use is advantageous.</p>
  
  <p>Also, I have read you should you always try to avoid breaking out of multiple loops like this anyway. Is this just for readability or are there performance or other issues this might cause?</p>
  
  <p>edit: Maybe I wasn't clear with my question. I understand what the break and continue statements do, my question is when you would use the php feature that allows you to break or continue out of multiple loops in a _real_world_ situation. Meaning are there any common patterns I would see in wild that use these features?  Are there problems that arise in the php language requiring the novelty of break(n) and continue(n)? I only ask because I have not seen this feature in other languages and thought maybe php had some special use cases for them other languages would not.</p>