Greg Beaver wrote:
Hi all,I realize that 1 == '01' and 1 == '1.', but why is this next code also bool(true)? <?php var_dump('1.' == '01'); ?>
http://us3.php.net/manual/en/language.types.string.php#language.types.string.conversion Also, if you want strict type checking, try using === .... -- Carl -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php