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)
  1597  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

Tarun Kumar added new Blog iOS Concept : Delegate   13 hours ago

Felix Pickles Created New Discussion In java, how to concatenate two arrays   20 hours ago


Tarun Kumar added new Article iOS Software Development Tools   yesterday

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