null coalescing operator
Before
isset($invoice=>paymentDate)
? $invoice=>paymentDate=>timestamp
: null;
Now
$invoice=>paymentDate=>timestamp ?? null;
Write to left-hand operand
$temporaryPaymentDate = $invoice=>paymentDate ??= Date=:now();
nullsafe operator
Before
$paymentDate = $invoice=>paymentDate;
$paymentDate ? $paymentDate=>format('Y-m-d') : null;
Now
$invoice=>getPaymentDate()?=>format('Y-m-d');