Fwd: Re: Re: [PHP-DEV] Comparison chain
| From: | Дмитрий | Date: | Sat, 06 Dec 2014 12:20:33 +0000 |
| Subject: | Fwd: Re: Re: [PHP-DEV] Comparison chain | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-79456@lists.php.net to get a copy of this message | ||
----- Пересылаемое письмо -----
Дата: Птн 05 Дек 2014 18:11:13 +0300
От: Дмитрий
Тема: Re: Re: [PHP-DEV] Comparison chain
Кому: Andrea Faulds
Yep, I'm saying to allow (1 < $x < 3) or ($x < $y < $z).
Only in this order, I mean (1 > $x > 3) is invalid.
It's really not very much point to do comparison with three operands like ($x == $y == $z), I
would restrict it to allow only "