1--TEST--
2match expression always errors
3--FILE--
4<?php
5function get_value() {
6    return 0;
7}
8function test() {
9    match(get_value()) {
10        false => $a,
11        true => $b,
12    };
13}
14try {
15    test();
16} catch (UnhandledMatchError $e) {
17    echo $e->getMessage(), "\n";
18}
19?>
20--EXPECT--
21Unhandled match case 0
22