Vidyalelo
PHP · Q43

Control Structures(Loop In PHP)

Programming · PHP · question 43

Q43

What will be the output of the following PHP code ?

A.
infinite loop
B.
hi
C.
no output
D.
error
Answer

Answer: Option D

Solution

Answer: Option D
Solution:
The while loop cannot be defined without a condition.