Login
Remember
Register
Ask a Question
Will a comparison of an integer 12 and a string "13" work in PHP?
0
votes
asked
Jun 23, 2019
in
PHP
by
SakshiSharma
Will a comparison of an integer 12 and a string "13" work in PHP?
#php
#php-php
#php-server-monitor-script
#php-support
#mysql-php
#php-programmer
#php-development
#php-language
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jun 23, 2019
by
anonymous
"13" and 12 can be compared in PHP since it casts everything to the integer type.
...