break Statement in PHP

Notes:

PHP Jumping / Control transfer Statements :
- To make the control jump / transfer directly from one place to another, we use PHP jumping or control transfer statements.

break,
continue,
goto,
function call,
return

PHP break statement: It terminates the loop
PHP engine skips statement(s) under the break statement, and transfers the control outside the loop

Syntax:
break;

Ex:
for($i=1; $i<6; $i++ )
{
if($i==3)
{
break;
}
echo $i, "<br/>";
}

Interview Questions:

1. PHP stands for ______________
a. Hypertext Preprocessor
b. Preprocessor Hypertext
c. Personal Home Processor
d. Personal Hypertext processor
Ans: a