PHP quiz · 35 questions

Match

Read the code

What does this print?


<?php
echo match (3) {
    1, 2 => "low",
    3 => "mid",
    default => "high",
};
  • 1–3 answer
  • ← previous
Question 17 of 3546%