[eluser]Murodese[/eluser]
[quote author="ray73864" date="1224420001"]i never understood the need for the extra ='s, i always use != or == and it always seems to work, so why the extra = sign?[/quote]
PHP defines several things as false. FALSE, 0, "", null or an empty array will all qualify as false. Adding the extra = (ie === or !==) will make sure it also type-checks it to make sure it's actually FALSE and not one of the others.
Code:
if (0 == FALSE) // true
if (0 === FALSE) // false