php 7.4 null safe operator code example Example: php 8 null safe operator $country = $session?->user?->getAddress()?->country;