PHP - Conditional Statements
You want to categorize a number into 'small', 'medium', or 'large' using a PHP 8 match expression. Which code correctly implements this logic for:
- small: 1 or 2
- medium: 3 or 4
- large: any other number
- small: 1 or 2
- medium: 3 or 4
- large: any other number
$num = 3;
// Your match expression here
