Home > DeveloperSection > Interviews > Will comparison of string "10" and integer 11 work in PHP?
Awadhendra Tiwari

Total Post:510

Points:2550

Posted on    June-13-2011 4:24 AM

 PHP PHP 
Ratings:
 1 Answer(s)
  1369  View(s)
Rate this:

Awadhendra Tiwari

Total Post:510

Points:2550
Posted on    June-13-2011 12:00 AM

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















Recent Activities

samuel fernanandes Created New Discussion Working with sessions and POST   1 hours ago

Barbara Jones added new Question What is ANR?   4 days ago

Kamlakar Singh added new Blog Convert Text Document to PDF File   17 days ago

Kamlakar Singh added new Article Introduction to Backbone.js   17 days ago

Don't want to miss updates? Please click the below button!