--TEST-- Match errors show unmatched enum case --FILE-- 42, }; } catch (Error $e) { echo $e->getMessage(), "\n"; } ?> --EXPECT-- Unhandled match case Foo::Bar