I guess the main reason for PHP to behave like this is to make life
easier for many everyday situations.

User input via GET or POST - usually string
You compare it to some value - int/string or whatever

So if a user posts '17' (string) and you compare it to 17 (int),
unless you are using ===, PHP won't complain.

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to