← All tasks
🌳
Programming Intermediate

match vs switch

⏱ 3 min ⭐ 70 XP 🔁 3 attempts allowed

What you'll do

Pick the correct distinction between PHP's match expression and a switch statement.

Scenario

A team is deciding whether to use match or switch for mapping a status code to a label.

Ready to try it?

Create a free account and try "match vs switch" free for 7 days, no card required. Earn 70 XP and track your internship progress.

Already have an account? Sign in