Closed thekid closed 3 years ago
Allow dropping expression from match, see https://externals.io/message/111402 and https://wiki.php.net/rfc/match_expression_v2#allow_dropping_true:
$result = match { ... }; // Equivalent to $result = match (true) { ... };
Allow dropping expression from match, see https://externals.io/message/111402 and https://wiki.php.net/rfc/match_expression_v2#allow_dropping_true: