PHP -Inline, wenn NULL -Überprüfung
$username = null;
$name = $username ?? 'unknown';
# Use unknown as name if the username variable isn't set.
TheDutchScorpion
$username = null;
$name = $username ?? 'unknown';
# Use unknown as name if the username variable isn't set.