Re: [RFC] [Vote] Short Ternary Assignment Operator
| From: | Nikita Popov | Date: | Thu, 24 Mar 2016 16:45:48 +0000 |
| Subject: | Re: [RFC] [Vote] Short Ternary Assignment Operator | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-91904@lists.php.net to get a copy of this message | ||
On Thu, Mar 24, 2016 at 4:51 PM, Sara Golemon <pollita@php.net> wrote:
> Following on from Midori, I've moved the short-ternary assignment
> operator RFC into voting phase.
> The implementation for which will be her patch with appropriately
> different symbols and tests.
> https://wiki.php.net/rfc/short_ternary_equal_operator
>
To clarify, as the RFC only mentions this by implication:
unset($x); // Assume $x is undefined
$x ?:= $y;
This will throw a notice, correct?
Thanks,
Nikita