Re: [PHP-DEV] [RFC] Implicit isset() in Shorthand Ternary Operator
[email protected] (Adam Harvey)
| Newsgroups | php.internals |
|---|---|
| Message-ID | <CADajX4DhKbC5QwiVG1w5gJNfqLR2Yx+oFMCxCbZ+CsqtXQDkgA@mail.gmail.com> |
On 16 September 2014 11:34, Andrea Faulds <[email protected]> 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