From: "Carl Furst" <[EMAIL PROTECTED]>

> IF $int is null and I have a test
>
> If($int < 1) {
> //do some foobar
> }
>
> will $int be evaluated as a zero? IF I cast (int) $int.. will that turn a
> null $int into a zero??
>
> Documentation aint too clear.

No idea what you're doing here, but you may want to look into the isset()
and/or empty() functions for identifying NULLs.

---John Holmes...

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to