Organizational Research By

Surprising Reserch Topic

how Will comparison of string and integer work in PHP?



asked Sep 13, 2013 in PHP by ashish singh
edited Sep 12, 2013
0 votes
24 views



Related Hot Questions

1 Answer

0 votes

Yes you can compare string and integer in PHP  as  internally PHP will cast everything to the integer type, so numbers 100 and 100 will be compared.

answered Sep 13, 2013 by ashish singh
edited Sep 12, 2013

...