Which programming language is this?
$status = match ($code) {
200, 201 => 'ok',
404 => 'missing',
default => 'error',
};
Answer: PHP
A
Play Programming Languages ▸
match expression over a $code variable with => arms is PHP 8.