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