← All tasks
🌳
Programming Beginner

Null Coalescing Operator ??

⏱ 3 min ⭐ 70 XP 🔁 3 attempts allowed

What you'll do

Pick the correct behavior of the ?? operator.

Scenario

$name = $_GET['name'] ?? 'Guest'; is used to provide a fallback value.

Ready to try it?

Create a free account and subscribe to take "Null Coalescing Operator ??". Earn 70 XP and track your internship progress.

Already have an account? Sign in