Vidyalelo
PHP · Q64

Control Structures(Loop In PHP)

Programming · PHP · question 64

Q64

What will be the output of the following PHP code ?

A.
-3-4-5
B.
-3-4
C.
infinite loop
D.
no output
Answer

Answer: Option D

Solution

Answer: Option D
Solution:
The loop is not even entered as x is initially 0.