Tell me will comparison of string 10″ and integer 11 work in php?



Tell me will comparison of string 10″ and integer 11 work in php?..

Answer / Shashank Pandey

No, comparing a string '10' (with prime symbol) and an integer 11 in PHP does not work as intended. It will compare the strings lexicographically, not numerically.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More WordPress Interview Questions

How many types of users role in wordpress?

1 Answers  


How do I download wordpress?

1 Answers  


How many websites can you have on wordpress?

1 Answers  


Explain me why are all the comments being moderated?

1 Answers  


What are the types of hooks in WP and what are their functions?

1 Answers  


Are wordpress plugins safe?

1 Answers  


What are the general benefits of using these comprehensive themes?

1 Answers  


Who can see private posts on wordpress?

1 Answers  


Is backupbuddy free?

1 Answers  


Does wordpress use java?

1 Answers  


Can I learn wordpress on my own?

1 Answers  


Who is father of wordpress?

1 Answers  


Categories