Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:91925 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 70749 invoked from network); 24 Mar 2016 20:16:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Mar 2016 20:16:58 -0000 Authentication-Results: pb1.pair.com smtp.mail=mtkocak@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=mtkocak@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.43 as permitted sender) X-PHP-List-Original-Sender: mtkocak@gmail.com X-Host-Fingerprint: 74.125.82.43 mail-wm0-f43.google.com Received: from [74.125.82.43] ([74.125.82.43:35842] helo=mail-wm0-f43.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 56/5A-15440-93B44F65 for ; Thu, 24 Mar 2016 15:16:57 -0500 Received: by mail-wm0-f43.google.com with SMTP id u125so644934wmg.1 for ; Thu, 24 Mar 2016 13:16:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=JbGnal2PKZiHlu+WK6ovkfxEZ5htSTKGzeJzsg7LDbU=; b=JkGliQkcciPfi2JAicllGboQ+X3AYeiEjT7NoTJtmOE02Xp6/4FC14JvfEZeIjT8q/ tY7am1fhMGe/cUeErGp54t/dxZluSlwGil985BRLTlu2r1OP5g1XqYrCxKWYTP+XM2kU lSC0K64NmpZHYwQ+ae+K+7uvt2Igvhu6raKjw3s+T3Aw9pNJLMpRL4vM7A19chYebcPu oiPT9frFDh6KPmO+cXtbLPJv6K+MWUgfeAOeDHKzSJCWuIXlwc11qi0tL9IuKtSofGNO Ck1Q1+VMVRLbPQKyzo98jcHOzRTat7rGdzkoaUGrwEuRJIx87RudOlGsEQXis3FOiG6l 2vgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=JbGnal2PKZiHlu+WK6ovkfxEZ5htSTKGzeJzsg7LDbU=; b=SgaVgfjeuTSOiowTynCZrJzNKxxupwr5g5ILkWSkENCVgNVk6lW3/QGnZfXhon8Lj/ 5FciB3eOZ8Ghkv6El6+m9hZz6R7zQpN5R+G9M/nH4AN+lU3Lvebo789ofhA+J8yUNM2H 8gVLs1vGFiovro2L5oPLjMpehk8rP/dqS966vCOw+ZIGyAcgneUZsIIEuXp06ffjRVZn YfvojhWajlIRXdypXLGLaWBho8s3+KzWzfHVVZG6C/pwJyPbRzP1RwM9RuZnQWs6bLg6 vmqPy6VzvOQkl7+qlohIjf8edMpCzPig6MiXqtOcMp3G4MdpGW2sR1XqWspb/boVMk4N Lt6A== X-Gm-Message-State: AD7BkJIauAmZiloq8Im4EcZm9SoSqcOAn8KWLr27XWEjwHurwee8SfRqeQb8mzoMtelE8g== X-Received: by 10.28.6.71 with SMTP id 68mr12763136wmg.41.1458850614300; Thu, 24 Mar 2016 13:16:54 -0700 (PDT) Received: from dynamic-2a00-1028-8388-232a-d54d-36c1-bdc2-5b68.ipv6.broadband.iol.cz (dynamic-2a00-1028-8388-232a-d54d-36c1-bdc2-5b68.ipv6.broadband.iol.cz. [2a00:1028:8388:232a:d54d:36c1:bdc2:5b68]) by smtp.gmail.com with ESMTPSA id ei9sm8852219wjd.40.2016.03.24.13.16.52 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 24 Mar 2016 13:16:53 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) In-Reply-To: Date: Thu, 24 Mar 2016 21:16:50 +0100 Cc: Aoi Midori Kocak , Colin O'Dell , Nikita Popov , PHP internals , Sara Golemon Content-Transfer-Encoding: quoted-printable Message-ID: <4A533E4C-D24D-4148-A306-94E006274E28@gmail.com> References: To: James Titcumb X-Mailer: Apple Mail (2.3124) Subject: Re: [PHP-DEV] Add spaceship assignment operator From: mtkocak@gmail.com (Midori Kocak) actually it could be proposed to C in 1970 in a same manner for +=3D = operator by saying +=3D=3D and +=3D=3D=3D and also +=3D=3D=3D=3D. But = hence Dennis Ritchie is dead and he accepted +=3D as a founding father, = we have no chance to ask him. Can we ask maybe to Bjarne Stroustrup as = being one of another founding fathers? Is there anyone being in contact = with him? > On 24 Mar 2016, at 21:12, James Titcumb wrote: >=20 > On 24 Mar 2016 19:43, "Mutlu Kocak" wrote: >>=20 >> he is trolling :) >>=20 >=20 > I wouldn't dismiss this idea straight off. I can see a lot of = practical > uses for chaining assignment operators, like: >=20 > $a !=3D=3D<=3D>=3D=3D=3D=3D $b; >=20 > Expanded from: >=20 > $a =3D $a !=3D=3D (($a <=3D> $b) =3D=3D=3D $b); >=20 > Which is something I often do in my production applications. In fact I > typed this exact use case about 12 times just today. >=20 > It's a good, expressive way of simplifying code and increasing = readability. > This would really complete the language IMO.