The other common case you want is that $x is outside some range. So will people try to write this: if( $min > $x < $max ) { which would always be false (provided $min < $max).
Or would you only allow inequalities of the same "direction" to be clustered together like that? Personally I never use > nor >= because I find the code easier to understand when the values are sort left-to-right, smallest-to-largest. (:
- tye (but my friends call me "Tye")In reply to (tye)Re: Why not support this syntax?
by tye
in thread Why not support this syntax?
by MeowChow
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |