<html>
<body>
for ($x = 0; $x < 10; $x++) {
if ($x == 4) {
break;
}
echo "The number is: $x <br>";
}
</body>
<!-- Mirrored from www.w3schools.com/php/phptryit.asp?filename=tryphp_break by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 21 Dec 2022 16:49:34 GMT -->
</html>