# [RFC] Combined Comparison (Spaceship) Operator

- Thread: https://externals.io/message/80809
- Original archive: https://news-web.php.net/php.internals/80809
- Started by Benjamin Coutu on 2015-01-19T12:02:58+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #80809 — Benjamin Coutu — 2015-01-19T12:02:58+00:00

URL: https://externals.io/message/80809#80809

I wouldn't mind T_SPACESHIP, but T_THREEWAY_COMPARISON is probably more technically precise and better than T_COMBINED_COMPARISON.

Cheers,

Ben

========== Original ==========
From: Jordi Boggiano <j.boggiano@seld.be>
To: Andrea Faulds <ajf@ajf.me>
Date: Mon, 19 Jan 2015 12:20:32 +0100
Subject: Re: [PHP-DEV] [RFC] Combined Comparison (Spaceship) Operator




> Hi Jordi,
>
> > […]
>
> It’d be possible. On the other hand, this isn’t just an in-joke: the “spaceship operator” is a common name for it in other languages, and if you google it you will actually find information about the operator.
>
> Plus, it’s fun.

Fair enough, it's not as bad, but I thought it should be raised.

Cheers
