Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:80809 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 50937 invoked from network); 19 Jan 2015 12:03:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Jan 2015 12:03:07 -0000 Authentication-Results: pb1.pair.com header.from=ben.coutu@zeyos.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ben.coutu@zeyos.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zeyos.com designates 109.70.220.166 as permitted sender) X-PHP-List-Original-Sender: ben.coutu@zeyos.com X-Host-Fingerprint: 109.70.220.166 unknown Received: from [109.70.220.166] ([109.70.220.166:40926] helo=mx.zeyon.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 94/11-64889-872FCB45 for ; Mon, 19 Jan 2015 07:03:06 -0500 Received: from localhost (mx.zeyon.net [127.0.0.1]) by mx.zeyon.net (Postfix) with ESMTP id 50C395F8F0 for ; Mon, 19 Jan 2015 13:03:01 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mx.zeyon.net Received: from mx.zeyon.net ([127.0.0.1]) by localhost (mx.zeyon.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gg6ukUQd5ODk for ; Mon, 19 Jan 2015 13:03:00 +0100 (CET) Received: from cloud.zeyos.com (unknown [109.70.220.163]) by mx.zeyon.net (Postfix) with ESMTPA id 54EB55F8EE; Mon, 19 Jan 2015 13:02:58 +0100 (CET) Date: Mon, 19 Jan 2015 13:02:58 +0100 To: Jordi Boggiano , Andrea Faulds Cc: internals@lists.php.net MIME-Version: 1.0 X-Mailer: ZeyOS Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" Message-ID: <20150119120301.50C395F8F0@mx.zeyon.net> Subject: Re: [PHP-DEV] [RFC] Combined Comparison (Spaceship) Operator From: ben.coutu@zeyos.com (Benjamin Coutu) I wouldn't mind T_SPACESHIP, but T_THREEWAY_COMPARISON is probably more tec= hnically precise and better than T_COMBINED_COMPARISON.=0A=0ACheers,=0A=0AB= en=0A=0A=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Original =3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=0AFrom: Jordi Boggiano =0ATo: Andrea Faulds =0ADate: Mon, 19 Jan 2015 12:20:32 +0100=0ASubject: Re: [PHP-DEV] [RFC= ] Combined Comparison (Spaceship) Operator=0A=0A=0A=0AOn 19/01/2015 10:40, = Andrea Faulds wrote:=0A> Hi Jordi,=0A>=0A>> On 19 Jan 2015, at 10:37, Jordi= Boggiano wrote:=0A>>=0A>> On 19/01/2015 08:28, Andrea= Faulds wrote:=0A>>> Good morning,=0A>>>=0A>>> This is a reboot of Davey Sh= afik=E2=80=99s RFC (with permission). After recent discussions about sort f= unctions, I was inspired to bring this back up, as I think it would be a us= eful feature.=0A>>>=0A>>> The RFC is here: https://wiki.php.net/rfc/combine= d-comparison-operator=0A>>=0A>> I am all for it, but just so we don't end u= p with yet another T_PAAMAYIM_NEKUDOTAYIM can we please not call this T_SPA= CESHIP? It sounds fun now but future generations will hate us.=0A>>=0A>> Ra= ther use T_COMBINED_COMPARISON or such?=0A>=0A> It=E2=80=99d be possible. O= n the other hand, this isn=E2=80=99t just an in-joke: the =E2=80=9Cspaceshi= p operator=E2=80=9D is a common name for it in other languages, and if you = google it you will actually find information about the operator.=0A>=0A> Pl= us, it=E2=80=99s fun.=0A=0AFair enough, it's not as bad, but I thought it s= hould be raised.=0A=0ACheers