Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:91933 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 10372 invoked from network); 25 Mar 2016 02:25:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Mar 2016 02:25:15 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.171 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.214.171 mail-ob0-f171.google.com Received: from [209.85.214.171] ([209.85.214.171:34326] helo=mail-ob0-f171.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0C/CD-15440-A81A4F65 for ; Thu, 24 Mar 2016 21:25:14 -0500 Received: by mail-ob0-f171.google.com with SMTP id kf9so45665874obc.1 for ; Thu, 24 Mar 2016 19:25:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=Il3pQ/yxSlybdHzDo6Ib2ocA4MGCnND8VBYHjtR4f00=; b=DUODGI63JMCNKTK7gIgQVc0fetlIJMPX9okiDdDCzwu/T+lMSvlCNCf8MQbiFUS4MW dIZTU8Z3eMagjUHPqhdWWs44vkGHkknflKPLEdDTHOz8Y4zKDO476yZjNutUD4VeEiZc Kzg8YMBEpLjCQOfRAOQkxaUO3Gya9r8yPpl1ImEsF873s7z1io6HiWtWaWESX2H0FChH im/jHkr5/lnfTA9SUyYfCKpoyoZo64WgoSDqwIsTP4oYSiT16YRTMWMpLRP0srkPK8Zv A4axRfxGOPP6Dr5bWKOFw7DT/sgSkqz8bFG9oo3jN51tPS4wiAyrQLA8yJLX4DOE7eYo tQWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=Il3pQ/yxSlybdHzDo6Ib2ocA4MGCnND8VBYHjtR4f00=; b=TN0eZckVJKHNvUJux2qjbAMvK5gQYN6DkLR0d3qcFHv/aBZXemHyDuey0+QUTc2DkJ i88g1ADfPB4W0ZhuyD7eWrDgJoDI1O2ajUD2Q0UdLa1sEq4/+tKIySodBJdc+zLEwdSt SQcYBXuOsoCC4ucWGB6I7BZskKqIMUBl5O2q/EKZG5yV/zXRj6wE8f+BQ/NEFBSrERpD kMpq2a/GIO2II7CUiV6EcXG4UjweDs/IkL9Cvf1PllhfKY2poPu4AItROMUuab2UzIGU ARrxZXwNRZcROceQ4S5MAjD8VWCHhJ2ccTIji3c5MG+D48NPDugFdaag64HZud/sTL2I u34w== X-Gm-Message-State: AD7BkJLllXwAhF/8S6hhBNYpBj7g8EZ6Kqq/MYcmG7pYS0LO1NHg7UO7r4dqFHVOGl69kFhcGTESiltw9tNw5g== MIME-Version: 1.0 X-Received: by 10.182.221.162 with SMTP id qf2mr6149573obc.75.1458872711040; Thu, 24 Mar 2016 19:25:11 -0700 (PDT) Received: by 10.202.215.193 with HTTP; Thu, 24 Mar 2016 19:25:10 -0700 (PDT) In-Reply-To: References: Date: Fri, 25 Mar 2016 09:25:10 +0700 Message-ID: To: Nikita Popov Cc: PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Add spaceship assignment operator From: pierre.php@gmail.com (Pierre Joye) Hi Nikita, On Fri, Mar 25, 2016 at 12:50 AM, Nikita Popov wrote: > Hi internals! > > For consistency, we should add a spaceship assignment operator: > > $a <=>= $b; > // same as > $a = ($a <=> $b); I miserably fail to imagine any use case for this. > Additionally, we should add an is-identical assignment operator: > > $a ==== $b; > // same as > $a = ($a === $b); > > Thank you for taking this proposal under consideration. Besides the comment about that one from Sara, I also fail to remotely imagine why one would need that. In short, yes, it is consistent but it is really unreadable, at best. -- Pierre @pierrejoye | http://www.libgd.org