PHP - Conditional Statements
Identify the error in this PHP code using
match:$x = 10;
$result = match ($x) {
5 => 'five',
10 => 'ten'
};
echo $result;
match:$x = 10;
$result = match ($x) {
5 => 'five',
10 => 'ten'
};
echo $result;
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions