Will comparison of string "10″ and integer 11 work in PHP?
Answer / Pawan Kumar Deepak
No, comparing a string with an integer will not work as expected. In this case, the string '10″' would be considered greater than the integer 11 because strings are compared lexicographically (letter by letter), and '10″' comes after '11' in alphabetical order.
| Is This Answer Correct ? | 0 Yes | 0 No |
How we can install plugins in wordpress?
How safe is a website on WordPress?
What is post type?
What is the difference between filters and actions?
What are actions and filters in wordpress?
Does wordpress need a database?
How do I edit html in wordpress?
Why is wordpress.com considered more secure than wordpress.org?
Who can see private wordpress pages?
How do I empty my wordpress cache?
Is a web site on WordPress secure?
Explain me the procedure to pass a variable by value in wordpress?