Explain will comparison of string "10" and integer 11 work in php?
Answer Posted / Narendar Kumar
Yes, PHP will compare the numerical value of both the string and integer. The integer 11 is greater than the string '10', so the comparison will return TRUE.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers