Re: Equal Null coalescing operator ??= https://github.com/php/php-src/pull/1795
| From: | Sara Golemon | Date: | Tue, 08 Mar 2016 21:41:51 +0000 |
| Subject: | Re: Equal Null coalescing operator ??= https://github.com/php/php-src/pull/1795 | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-91554@lists.php.net to get a copy of this message | ||
On Tue, Mar 8, 2016 at 9:59 AM, Midori Kocak <mtkocak@gmail.com> wrote:
>
> $this->request->data['comments']['user_id'] =
> $this->request->data['comments']['user_id'] ?? ‘value’;
> $this->request->data['comments']['user_id’] ??= ‘value’;
>
RFC it so there's a proper vote process, but you've got mine (pending
a proper look at the PR). Honestly feels like it was an oversight
when the coalesce operator was added.
-Sara