Re: [RFC] Implicit isset() in Shorthand Ternary Operator

From: Date: Tue, 16 Sep 2014 18:38:37 +0000
Subject: Re: [RFC] Implicit isset() in Shorthand Ternary Operator
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.internals 
Request: Send a blank email to internals+get-77266@lists.php.net to get a copy of this message
On 16 September 2014 11:34, Andrea Faulds <ajf@ajf.me> wrote: > By popular demand, I’ve changed the RFC to instead propose a ?? operator, after Nikita Popov > generously donated a working ?? patch. In doing so, the RFC is renamed “Null Coalesce Operator”. > > Please read it: https://wiki.php.net/rfc/isset_ternary Love it! Kudos to you and Nikita. Is it possible to chain ?? operators; ie $value = $foo ?? $bar ?? 'default'? Adam

« previous php.internals (#77266) next »