## Problem `match ($x) { ... }` is not compiled. Routers may use `match` for clean path dispatch. ## Goal `match` with literal/int/string arms and default arm (no guard expressions initially). ## Tasks - [ ] Lower to switch-like CFG or chained compare+jump - [ ] VM + JIT (reuse switch work #96) - [ ] PHPT compliance ## Acceptance ```php echo match (2) { 1 => 'a', 2 => 'b', default => 'c' }; // b ```
Problem
match ($x) { ... }is not compiled. Routers may usematchfor clean path dispatch.Goal
matchwith literal/int/string arms and default arm (no guard expressions initially).Tasks
Acceptance