Re: ! and !=

From: Date: Wed, 22 Apr 2009 22:44:50 +0000
Subject: Re: ! and !=
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-291838@lists.php.net to get a copy of this message
On Thu, Apr 23, 2009 at 4:30 AM, George Langley <george.langley@shaw.ca> wrote: >        Hi all. Maybe I'm just getting confused by all the languages I'm trying > to work with! But, isn't: > > if(!$var1 == $var2){ Means if (NOT($var1) == $var2) > > the same thing as > > if($var1 != $var2){ means $var1 NOTEQUALS $var2 > >        #1 doesn't work, #2 does. :) Lenin www.twitter.com/nine_L

« previous php.general (#291838) next »