Vidyalelo
PHP · Q23

Control Structures(Loop In PHP)

Programming · PHP · question 23

Q23

What will be the output of the following PHP code ?

A.
hi
Answer
B.
hello
C.
error
D.
no output

Answer: Option A

Solution

Answer: Option A
Solution:
In php division returns a float that is a non zero value thus evaluates to true.