Vidyalelo
PHP · Q36

Control Structures(Loop In PHP)

Programming · PHP · question 36

Q36

What will be the output of the following PHP code ?

A.
hihellohi1
B.
hi
Answer
C.
hihello
D.
hi1

Answer: Option B

Solution

Answer: Option B
Solution:
It checks the first case, when it finds it equal it will perform it breaks out.