Q38
What will be the output of the following PHP code ?
A.
hihellohi1
AnswerB.
hi
C.
hihello
D.
hello
Answer: Option A
Solution
Answer: Option A
Solution:
Upcasting does happen in case,it compares it with 1.0 and thus prints hi and exits.