Re: === and @
| From: | BB | Date: | Mon, 24 Jun 2002 08:54:36 +0000 |
| Subject: | Re: === and @ | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-103555@lists.php.net to get a copy of this message | ||
== compares 2 variables regardless of type ("1" == 1)
=== compares 2 variables with type in mind ("1" !== 1)
@ supresses errors in functions
"Phil Schwarzmann" <pschwar@jhmi.edu> wrote in message
news:sd1650db.026@cis27.hosts.jhmi.edu...
> What exactly happens when you put three equal-signs together instead of
> just one or two? I've seen this in other people's code, then search
> php.net and found nothing.
>
> Also, what happens when you put a @ thingy in front of a function? Does
> it surpress the errors?
>
> Thanks!!
>