On Wed, Mar 9, 2016 at 10:14 AM, Midori Kocak <mtko...@gmail.com> wrote:
> Remember my question about ??= operator?
> https://wiki.php.net/rfc/null_coalesce_equal_operator
>
As I said before, I support this.  The whole thing feels like a
no-brainer in terms of implementing it.

Davey mentioned on twitter[1] the idea of shortening it to `X ?= Y`,
but I think that would be inconsistent with other operators (e.g. *=
versus **=)  and would complicate further evolutions of syntax such as
adding the `X ?:= Y` assignment operator (as shorthand for `X = X ?:
Y`).

-Sara

1 - https://twitter.com/dshafik/status/707504022224154626

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to