rfc:strict_operators
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
rfc:strict_operators [2020/07/06 15:14] jasny |
rfc:strict_operators [2020/07/06 21:31] jasny |
||
---|---|---|---|
Line 61: | Line 61: | ||
When used with a '' | When used with a '' | ||
+ | |||
+ | Custom compare handlers of objects (like '' | ||
==== String concatenation ==== | ==== String concatenation ==== | ||
Line 118: | Line 120: | ||
This can lead to issues when numeric comparison is not expected, for example between two hexidecimal values. The hexidecimal value is instead interpreted as number with scientific notation. | This can lead to issues when numeric comparison is not expected, for example between two hexidecimal values. The hexidecimal value is instead interpreted as number with scientific notation. | ||
- | < | + | < |
$red = ' | $red = ' | ||
$purple = ' | $purple = ' | ||
Line 151: | Line 153: | ||
$a < $b; // true | $a < $b; // true | ||
</ | </ | ||
- | |||
- | The logic of relational operators other than '' | ||
==== Strict vs non-strict comparison of arrays ==== | ==== Strict vs non-strict comparison of arrays ==== |
rfc/strict_operators.txt · Last modified: 2020/07/15 14:27 by jasny