what's the use of break statement in php code example Example: php for break <?php for ($x = 0; $x < 10; $x++) { if ($x == 4) { break; } } ?>