Re: [VOTE] Unary null coalescing operator

From: Date: Tue, 11 Jul 2017 22:28:00 +0000
Subject: Re: [VOTE] Unary null coalescing operator
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-99847@lists.php.net to get a copy of this message
On Tue, Jul 11, 2017 at 11:53 PM, Andrea Faulds <ajf@ajf.me> 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! > 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

« previous php.internals (#99847) next »