Home » Interview » Technology

Will comparison of string "10" and integer 11 work in PHP?

Correct Answer: Yes, internally PHP will cast everything to the integer type, so numbers 10 and 11 will be compared

← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion