php7 null coalesce code example Example: null collapse operator php $name = $_GET['name'] ?? $user_name ?: 'anonymous';