Vidyalelo
PHP · Q7

Control Structures(Loop In PHP)

Programming · PHP · question 7

Q7

What will be the output of the following PHP code ?

A.
true
Answer
B.
false
C.
error
D.
no output

Answer: Option A

Solution

Answer: Option A
Solution:
print returns 1 if it prints anything.