Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:91944 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 79316 invoked from network); 25 Mar 2016 12:38:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Mar 2016 12:38:53 -0000 Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 207.46.100.108 as permitted sender) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 207.46.100.108 mail-by2on0108.outbound.protection.outlook.com Received: from [207.46.100.108] ([207.46.100.108:24850] helo=na01-by2-obe.outbound.protection.outlook.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 08/70-10214-95135F65 for ; Fri, 25 Mar 2016 07:38:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=RWSoftware.onmicrosoft.com; s=selector1-zend-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=1fH3jhgolAVCJgSCCcw6IF6vfVuh29OdVElQm7maowE=; b=ICJttovKlgfcMnjBaDGZMuk09OvJUyBpUWSqCjjmivhUnFgN9UT4O5K1xif9Ls5aRHjTh4tv+0mY9PKdp7rrWAHpqI2cBm0ypxb4OR0/+dCjKGgT4yqp3H+p6B0oC++3paV3TTyg9dtj7Zwxzmbtr5LzQ1FuCQm7sg3x9IPFtSc= Received: from BY2PR0201MB1784.namprd02.prod.outlook.com (10.163.72.26) by BY2PR0201MB1781.namprd02.prod.outlook.com (10.163.72.23) with Microsoft SMTP Server (TLS) id 15.1.434.16; Fri, 25 Mar 2016 12:38:45 +0000 Received: from BY2PR0201MB1784.namprd02.prod.outlook.com ([10.163.72.26]) by BY2PR0201MB1784.namprd02.prod.outlook.com ([10.163.72.26]) with mapi id 15.01.0434.023; Fri, 25 Mar 2016 12:38:45 +0000 To: Nikita Popov , PHP internals Thread-Topic: [PHP-DEV] Add spaceship assignment operator Thread-Index: AQHRhfW9hMFU1zwTBk6T6FuLdW3NJJ9qGhtz Date: Fri, 25 Mar 2016 12:38:45 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=zend.com; x-originating-ip: [132.245.81.165] x-ms-office365-filtering-correlation-id: caec0aae-add4-40c9-591d-08d354aa67e3 x-microsoft-exchange-diagnostics: 1;BY2PR0201MB1781;5:bD68rC0RIMAGKR+8htb79W41D02aRjk4rV0CNjZ+PH9NmjzxCP2rpY5SREP2ROQ4+8HwC+p/rM14WNvzPCFf70yORdHjWq05Sn58Sd54BDT/wo/1+xAz2eeIbDatbZhQVWsqVyuO246zUojfFz5ifw==;24:oGHxvcCZybW4hEn63lRkm1qd0OMSvR6Iiq3XCtnxRgrmgC2XnuDbJ0tdEv+Y6FUI9VyXm0VLaWY0i9D3Kj+9vyi5NsOTf8Dg3UjpcqMyLzA= x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR0201MB1781; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001);SRVR:BY2PR0201MB1781;BCL:0;PCL:0;RULEID:;SRVR:BY2PR0201MB1781; x-forefront-prvs: 0892FA9A88 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(3660700001)(76576001)(2906002)(19580405001)(11100500001)(5008740100001)(66066001)(19580395003)(561944003)(33656002)(99286002)(3280700002)(74316001)(3900700001)(77096005)(2900100001)(122556002)(106116001)(92566002)(50986999)(54356999)(345774005)(76176999)(81166005)(5002640100001)(86362001)(1220700001)(5004730100002)(87936001)(2950100001)(1096002)(3846002)(107886002)(102836003)(5003600100002)(5001770100001)(6116002)(586003)(189998001)(10400500002);DIR:OUT;SFP:1102;SCL:1;SRVR:BY2PR0201MB1781;H:BY2PR0201MB1784.namprd02.prod.outlook.com;FPR:;SPF:None;MLV:sfv;LANG:en; spamdiagnosticoutput: 1:23 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: zend.com X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Mar 2016 12:38:45.1154 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 32210298-c08b-4829-8097-6b12c025a892 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR0201MB1781 Subject: Re: [PHP-DEV] Add spaceship assignment operator From: dmitry@zend.com (Dmitry Stogov) I hope this is a joke. Lets try not to reinvent Perl. Thanks. Dmitry. ________________________________________ From: Nikita Popov Sent: Thursday, March 24, 2016 20:50 To: PHP internals Subject: [PHP-DEV] Add spaceship assignment operator Hi internals! For consistency, we should add a spaceship assignment operator: $a <=3D>=3D $b; // same as $a =3D ($a <=3D> $b); Additionally, we should add an is-identical assignment operator: $a =3D=3D=3D=3D $b; // same as $a =3D ($a =3D=3D=3D $b); Thank you for taking this proposal under consideration. Regards, Nikita