Yes, internally PHP will cast everything to the integer type, so numbers 10 and 11 will be compared.
Showing posts with label Will comparison of string "10" and integer 11 work in PHP?. Show all posts
Showing posts with label Will comparison of string "10" and integer 11 work in PHP?. Show all posts
Saturday, May 16, 2009
Subscribe to:
Posts (Atom)