Short Circuiting
21/30
Null-safe Operator
New String Functions
Example:
$country = $session?->user?->getAddress($session?->format)?->country;
•
If
getAddress()
returns
NULL
,
$country
is
NULL