Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:91909 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 36485 invoked from network); 24 Mar 2016 17:57:00 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Mar 2016 17:57:00 -0000 Authentication-Results: pb1.pair.com smtp.mail=bobwei9@hotmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=bobwei9@hotmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain hotmail.com designates 65.55.111.83 as permitted sender) X-PHP-List-Original-Sender: bobwei9@hotmail.com X-Host-Fingerprint: 65.55.111.83 blu004-omc2s8.hotmail.com Received: from [65.55.111.83] ([65.55.111.83:63645] helo=BLU004-OMC2S8.hotmail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 29/C3-15440-96A24F65 for ; Thu, 24 Mar 2016 12:57:00 -0500 Received: from BLU437-SMTP86 ([65.55.111.72]) by BLU004-OMC2S8.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Thu, 24 Mar 2016 10:56:55 -0700 X-TMN: [f1DzZpEVup1AUKaKmMbXAzxKTz+vZsOD] X-Originating-Email: [bobwei9@hotmail.com] Message-ID: Content-Type: multipart/alternative; boundary="Apple-Mail=_E31BE9BD-4B6A-49BF-A77C-F75619A18B26" MIME-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) In-Reply-To: Date: Thu, 24 Mar 2016 18:56:50 +0100 CC: PHP internals References: To: Nikita Popov X-Mailer: Apple Mail (2.2070.6) X-OriginalArrivalTime: 24 Mar 2016 17:56:53.0047 (UTC) FILETIME=[8C2A0C70:01D185F6] Subject: Re: [PHP-DEV] Add spaceship assignment operator From: bobwei9@hotmail.com (Bob Weinand) --Apple-Mail=_E31BE9BD-4B6A-49BF-A77C-F75619A18B26 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" > Am 24.3.2016 um 18:50 schrieb Nikita Popov : >=20 > Hi internals! >=20 > For consistency, we should add a spaceship assignment operator: >=20 > $a <=3D>=3D $b; > // same as > $a =3D ($a <=3D> $b); >=20 > Additionally, we should add an is-identical assignment operator: >=20 > $a =3D=3D=3D=3D $b; > // same as > $a =3D ($a =3D=3D=3D $b); >=20 > Thank you for taking this proposal under consideration. >=20 > Regards, > Nikita I see a problem with that =E2=80=A6 It=E2=80=99d be impossible to make = it consistent with is-equal comparison=E2=80=A6 =3D=3D=3D is already is-identical comparison. So, no symbol for the = is-equal assignment operator left. As long as you don=E2=80=99t have any better suggestion, I=E2=80=99m = sorry, but -1 on that. Bob --Apple-Mail=_E31BE9BD-4B6A-49BF-A77C-F75619A18B26--