Re: How can an elephant count for nothing?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

EXAMPLE:
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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux