On Tuesday 26 November 2002 23:45, Chris Shiflett wrote:
> --- Ernest E Vogelsinger <[EMAIL PROTECTED]> wrote:
> > At 13:50 26.11.2002, [EMAIL PROTECTED] said:
> > >if ($lineone && $linetwo && $linethree && $linefour = "")
> >
> > Your expression yields true if 1-3 are not-empty AND four is an
> > empty string.
>
> Actually, this expression yields true when $lineone, $linetwo, and
> $linethree are all true. The variable $linefour is just being set to
> the empty string.

Actually that expression will always be FALSE. $linefour = "" does not 
evaluate to TRUE thus the whole expression to be FALSE!

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *

/*
Someone was smoking in the computer room and set off the halon systems.
*/


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

Reply via email to