Will comparison of string and integer work in PHP?
Posted by Raj
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.
This entry was posted on October 4, 2009 at 12:14 pm, and is filed under
OOP interview questions and answers,
PHP,
PHP interview questions and answers,
PHP: Comparison Operators - Manual,
Question
.You can leave a response, or trackback from your own site.