Ask a Question related to PHP Development, Design and Development.
-
Chris Morrow #1
Unknown Syntax
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
Chris Morrow Guest
-
Unknown Error
I try to delete or insert to MS Access table through Web application - the error occurs in statement string s =... -
#40513 [NEW]: Notice: Unknown: List index out of bounds (0) (errflg=2) in Unknown on line 0
From: wil at codeciti dot com Operating system: WinXP PHP version: 5.2.1 PHP Bug Type: IMAP related Bug description: ... -
#40068 [NEW]: Warning: Unknown: failed to open stream: No such file or directory in Unknown..
From: triphius at tripslair dot com Operating system: FreeBSD 6.1 PHP version: 5.2.0 PHP Bug Type: Scripting Engine problem... -
unknown format
A large (150+ mgb) Illustrator EPS file cannot be reopened after being closed for an hour or two. The alert: " '__' is an unknown format and cannot... -
[PHP] Unknown Syntax
Hello, This is a reply to an e-mail that you wrote on Fri, 11 Jul 2003 at 13:55, lines prefixed by '>' were originally written by you. This... -
Erythros #2
Re: Unknown Syntax
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
>
>
Erythros Guest
-
Chris Morrow #3
Re: Unknown Syntax
I Found this on the PHP.net site, maybe it will clear things up. Thanks for
your help everyone.
Example Name Result
$a == $b Equal TRUE if $a is equal to $b.
$a === $b Identical TRUE if $a is equal to $b, and they are of the
same type. (PHP 4 only)
$a != $b Not equal TRUE if $a is not equal to $b.
$a <> $b Not equal TRUE if $a is not equal to $b.
$a !== $b Not identical TRUE if $a is not equal to $b, or they are not
of the same type. (PHP 4 only)
$a < $b Less than TRUE if $a is strictly less than $b.
$a > $b Greater than TRUE if $a is strictly greater than $b.
$a <= $b Less than or equal to TRUE if $a is less than or equal to
$b.
$a >= $b Greater than or equal to TRUE if $a is greater than or equal
to $b.
Cheers,
Chris
"Erythros" <erythros@erythros.com> wrote in message
news:20030711131515.92921.qmail@pb1.pair.com...> 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
> >
> >
>
Chris Morrow Guest



Reply With Quote

