Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:80803 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 38028 invoked from network); 19 Jan 2015 11:20:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Jan 2015 11:20:22 -0000 Authentication-Results: pb1.pair.com header.from=j.boggiano@seld.be; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=j.boggiano@seld.be; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain seld.be designates 209.85.212.179 as permitted sender) X-PHP-List-Original-Sender: j.boggiano@seld.be X-Host-Fingerprint: 209.85.212.179 mail-wi0-f179.google.com Received: from [209.85.212.179] ([209.85.212.179:47699] helo=mail-wi0-f179.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F1/6E-64889-478ECB45 for ; Mon, 19 Jan 2015 06:20:21 -0500 Received: by mail-wi0-f179.google.com with SMTP id l15so6144256wiw.0 for ; Mon, 19 Jan 2015 03:20:17 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=7ukF038+lhFoVhhyd9eWOXo39Lt/aAdXSVWI3Zj8/JY=; b=WBW0n19dW6DTefh5Dcf+jDAIBFdYR4i08rqP1LZJ2wROztdIxd6Kj2mQ4X8MuvUY5H 81WrlA0aDRP29Fw7oSXKz3ZrembLXkSCKsKKg9E1FWhTrq+ZJ6XLpbcSADaBq4TFV3Rm Ml+rNpwNL3SeBs86diW/zg31XtVmR2lsDwsqia+bwxBccN40yfeUgFSqnsGxPBk4EWuL dGAZY5ojANSfKL5Glxwcoouex+VZKBMgQAgJEIapgOL10BluHO9VdGGUtYCFYEQAhUVT EFY0JCdvYHvyZwMqYfNHqcavyOnPV+vXkTXKvUM8M5h5zdFJSQAL6GOvaNKmFb4hrNv2 0e1w== X-Gm-Message-State: ALoCoQlocRus41kpWMvSQARYIuYufJof9vpIZqbH6CNeoVtViaDSUPZKOx8yts8xoE+NKl1fwW5E X-Received: by 10.194.19.73 with SMTP id c9mr41884633wje.124.1421666417186; Mon, 19 Jan 2015 03:20:17 -0800 (PST) Received: from [192.168.1.76] (83.90.199.146.dyn.plus.net. [146.199.90.83]) by mx.google.com with ESMTPSA id u18sm16864620wjq.42.2015.01.19.03.20.15 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Jan 2015 03:20:16 -0800 (PST) Message-ID: <54BCE880.4020206@seld.be> Date: Mon, 19 Jan 2015 11:20:32 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Andrea Faulds CC: internals@lists.php.net References: <53F8A1FF-C809-4DDF-9C6F-6916C3E4F044@ajf.me> <54BCDE6A.1080806@seld.be> <52DD05A8-082A-4CDB-BA30-F6BE86884704@ajf.me> In-Reply-To: <52DD05A8-082A-4CDB-BA30-F6BE86884704@ajf.me> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] [RFC] Combined Comparison (Spaceship) Operator From: j.boggiano@seld.be (Jordi Boggiano) On 19/01/2015 10:40, Andrea Faulds wrote: > Hi Jordi, > >> On 19 Jan 2015, at 10:37, Jordi Boggiano wrote: >> >> On 19/01/2015 08:28, Andrea Faulds 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 am all for it, but just so we don't end up with yet another T_PAAMAYIM_NEKUDOTAYIM can we please not call this T_SPACESHIP? It sounds fun now but future generations will hate us. >> >> Rather use T_COMBINED_COMPARISON or such? > > 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 -- Jordi Boggiano @seldaek - http://nelm.io/jordi