Sometimes you need to escape out of a PHP loop. You can easily do this by using either the continue or break keywords.