Re: [RFC] Combined Comparison (Spaceship) Operator
| From: | Mike Willbanks | Date: | Mon, 19 Jan 2015 13:34:19 +0000 |
| Subject: | Re: [RFC] Combined Comparison (Spaceship) Operator | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-80817@lists.php.net to get a copy of this message | ||
Hi Andrea,
On Mon, Jan 19, 2015 at 2:28 AM, Andrea Faulds <ajf@ajf.me> wrote:
> Good morning,
>
> This is a reboot of Davey Shafik’s RFC (with permission). After recent
> discussions about sort functions, I was inspired to bring this back up, as
> I think it would be a useful feature.
>
> The RFC is here:
> https://wiki.php.net/rfc/combined-comparison-operator
>
I can only think of how many times I would have liked to have this over the
last decade. Seems very straight forward and would be a perfect addition
for 7.