# [VOTE] Unary null coalescing operator

- Thread: https://externals.io/message/99846
- Original archive: https://news-web.php.net/php.internals/99846
- Started by Andrea Faulds on 2017-07-11T21:53:03+00:00
- Messages: 3
- RFC: Unary null coalescing operator (Declined) — https://externals.io/rfc/unary_null_coalescing_operator.md
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · RFCs at https://externals.io/rfc.md · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #99846 — Andrea Faulds — 2017-07-11T21:53:03+00:00

URL: https://externals.io/message/99846#99846

Hi everyone,

There seems no reason not to put this to a vote, so I have:

https://wiki.php.net/rfc/unary_null_coalescing_operator

Voting starts immediately and ends in 7 days' time, so 2017-07-18.

Thanks!
-- 
Andrea Faulds
https://ajf.me/

---

## #99847 — Nikita Popov — 2017-07-11T22:28:00+00:00

URL: https://externals.io/message/99846#99847 · In reply to: #99846

> Hi everyone,
>
> There seems no reason not to put this to a vote, so I have:
>
> https://wiki.php.net/rfc/unary_null_coalescing_operator
>
> Voting starts immediately and ends in 7 days' time, so 2017-07-18.
>
> Thanks!
>

Voting no on this one -- I don't see a lot of value proposition here, but
introducing this now will negatively interact with some (imho more
interesting) future language extensions, such as null-safe object
operations. Having both $obj?->foo() and $obj??->foo() with very different
semantics seems undesirable to me.

Nikita

---

## #99925 — Andrea Faulds — 2017-07-19T00:30:46+00:00

URL: https://externals.io/message/99846#99925 · In reply to: #99846

Andrea Faulds wrote:
> Hi everyone,
>
> There seems no reason not to put this to a vote, so I have:
>
> https://wiki.php.net/rfc/unary_null_coalescing_operator
>
> Voting starts immediately and ends in 7 days' time, so 2017-07-18.
>
> Thanks!

The RFC was declined, 12 to 4.

Thanks for voting.

-- 
Andrea Faulds
https://ajf.me/
