The break keyword immediately terminates the current loop.
Similar to the continue statement, a break halts execution of a loop. Unlike a continue statement, however, break causes the immediate termination of the loop and does not execute the conditional statement again.
$i = 5;
while(true) {...