Vidyalelo
PHP · Q10

Control Structures(Loop In PHP)

Programming · PHP · question 10

Q10

What will be the output of the following PHP code ?

A.
all
B.
some
Answer
C.
error
D.
no output

Answer: Option B

Solution

Answer: Option B
Solution:
Empty string is evaluated to 0.