Re: Unknown Syntax

From: Date: Fri, 11 Jul 2003 13:15:14 +0000
Subject: Re: Unknown Syntax
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-154870@lists.php.net to get a copy of this message
two equal signs means 'equal to' so '!==' means 'not equal to' one equal sign sets a value. ie... x = 2; // x is set to the value of 2 if(x!==3) // checks if the value of x is not equal to 3 as for != i've never seen it with just one equal sign... "Chris Morrow" <chris.morrow@btopenworld.com> wrote in message news:20030711125539.71628.qmail@pb1.pair.com... > Does anybody recognize this: > > !== > > with 2 '=' > > Ive known != to mean not equal to but i'm just looking at someone elses > script and they use this instead. Does anyone know if this works or any > problems with it? > > Cheers > >

« previous php.general (#154870) next »