On 3/7/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> if ($access === false)
>
>
> Is this just a typo?
>

It's not a typo.  When you use === you are asking for a comparison of
value AND type.  Since empty values can also be interpreted as false
depending on context, the only way to 100% make sure that you are
looking to do a comparison on a boolean FALSE value is to use ===

Hope that helps.

-- 
Chris Hartjes

My motto for 2007:  "Just build it, damnit!"

rallyhat.com - digital photo scavenger hunt
@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboard - http://www.littlehart.net/atthekeyboard

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to