shiflett at php.net
Wed Aug 27 15:43:56 EDT 2003
--- Phil Powell <soazine at erols.com> wrote:
> Wait, I'm confused. If a variable is set to 0, then it is also false
> as well, am I right??
You're right. I think my comments were very misleading, after reading them over
I prefer empty() for readability. The fact that it evaluates as false for the
integer 0 is a bit confusing, I agree.
Become a better Web developer with the HTTP Developer's Handbook
More information about the talk