How can I break an outer loop with PHP?

In the case of 2 nested loops:

break 2;

http://php.net/manual/en/control-structures.break.php

Leave a Comment