Comparison of string

Describe will comparison of string “10″ and integer 11 employ in PHP?

E

Expert

Verified

Yes, internally PHP will cast everything to the integer type, therefore numbers 10 & 11 will be compared.

   Related Questions in Science

©TutorsGlobe All rights reserved 2022-2023.