FAQ
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

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 18 of 20 | next ›
Discussion Overview
groupphp-internals @
categoriesphp
postedMar 24, '16 at 5:50p
activeMar 25, '16 at 12:38p
posts20
users14
websitephp.net

People

Translate

site design / logo © 2019 Grokbase