Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:80780 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 95102 invoked from network); 19 Jan 2015 09:35:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Jan 2015 09:35:32 -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:39037] helo=mx.zeyon.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5D/15-64889-2EFCCB45 for ; Mon, 19 Jan 2015 04:35:31 -0500 Received: from localhost (mx.zeyon.net [127.0.0.1]) by mx.zeyon.net (Postfix) with ESMTP id 854995F8D7 for ; Mon, 19 Jan 2015 10:35:27 +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 RSD-Cwnvm18A for ; Mon, 19 Jan 2015 10:35:27 +0100 (CET) Received: from cloud.zeyos.com (unknown [109.70.220.163]) by mx.zeyon.net (Postfix) with ESMTPA id 023065F8D3; Mon, 19 Jan 2015 10:35:25 +0100 (CET) Date: Mon, 19 Jan 2015 10:35:26 +0100 To: Andrea Faulds , PHP internals MIME-Version: 1.0 X-Mailer: ZeyOS Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" Message-ID: <20150119093527.854995F8D7@mx.zeyon.net> Subject: Re: [PHP-DEV] [RFC] Combined Comparison (Spaceship) Operator From: ben.coutu@zeyos.com (Benjamin Coutu) This would be indeed very useful and also ideal from a sorting performance = perspective!=0A=0A=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Original =3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=0AFrom: Andrea Faulds =0ATo: PHP internals =0ADate: Mon, 19 Jan 2015 09:28:17 +0100=0ASubject: [P= HP-DEV] [RFC] Combined Comparison (Spaceship) Operator=0A=0A=0A=0AGood morn= ing,=0A=0AThis is a reboot of Davey Shafik=E2=80=99s RFC (with permission).= After recent discussions about sort functions, I was inspired to bring thi= s back up, as I think it would be a useful feature.=0A=0AThe RFC is here: h= ttps://wiki.php.net/rfc/combined-comparison-operator=0A=0AThanks!=0A--=0AAn= drea Faulds=0Ahttp://ajf.me/