On Thu, Mar 24, 2016 at 9:45 AM, Nikita Popov wrote:
> To clarify, as the RFC only mentions this by implication:
>
> unset($x); // Assume $x is undefined
> $x ?:= $y;
>
> This will throw a notice, correct?
>
Yes. The equivalent short-ternary:
$x = $x ?: $y;
would throw a notice, so the
On Thu, Mar 24, 2016 at 4:51 PM, Sara Golemon 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_eq
On Thu, Mar 24, 2016 at 9:51 AM, Sara Golemon 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_eq