4 ms·
PHP. The !== checks for equality and for type. For example, it is true in PHP that 0 == false, but it is also true that 0 !== false.
by carbocation 17y ago
PHP. The !== checks for equality and for type. For example, it is true in PHP that 0 == false, but it is also true that 0 !== false.
- jcl 17y agoAlso Javascript: https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Operators/Comparison_Operators https://developer.mozilla.org/en/Core_JavaScript_1.5_Referen...
- shawndumas 17y agoCorrect.
- ericd 17y agoBut given that now and then are both of type Temporal, he should still go for !=.