note 38861 deleted from language.operators by didou
| From: | didou@php.net | Date: | Fri, 09 Jan 2004 10:32:58 +0000 |
| Subject: | note 38861 deleted from language.operators by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-63191@lists.php.net to get a copy of this message | ||
Note Submitter: HuugjeWeg
----
Note that '==' seems to perform some evaluation of the arguments, see bug 23110
(http://bugs.php.net/bug.php?id=23110).
In short: "1e1" == "10", but "1e1" !=== "10"
Idem: "3.20" == "3.2", but "3.20" !== "3.2"
This is the only case in which "===" will return a different result than "==" if
the arguments have the same type (at least, the only case I know of).