Tell me will comparison of string 10″ and integer 11 work in php?
Answer Posted / Shashank Pandey
No, comparing a string '10' (with prime symbol) and an integer 11 in PHP does not work as intended. It will compare the strings lexicographically, not numerically.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers