Re: ! and !=

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 23, 2009 at 4:30 AM, George Langley <george.langley@xxxxxxx> 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

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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux