PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
When you compare a number with a non-number, php converts the latter and does numeric comparison.
Check Types/Type juggling and Operators/Comparison chapters in the manual.