PHP Break And Continue Statements
In this tutorial, we will be learning about break and continue statements.
What Are Break Statements?
To end the entire loop earlier if a particular condition is met, you can use the “break” keyword.
Example
<?php
for($i=0; $i<100; $i++)
{
if($i==2)
...
javasper.hashnode.dev1 min read