Re: Unknown Syntax
| From: | David Nicholson | Date: | Fri, 11 Jul 2003 12:59:48 +0000 |
| Subject: | Re: Unknown Syntax | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-154866@lists.php.net to get a copy of this message | ||
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.
> 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
This compares type as well as content, for example:
2 !== "2" evaluates to true but
2 != "2" evaluates to false
David.
--
phpmachine :: The quick and easy to use service providing you with
professionally developed PHP scripts :: http://www.phpmachine.com/
Professional Web Development by David Nicholson
http://www.djnicholson.com/
QuizSender.com - How well do your friends actually know you?
http://www.quizsender.com/
(developed entirely in PHP)