<?php function doPrint(string $value): void { echo $value . "\n"; } $a = rand(0,2); match (true) { $a === 0 => doPrint('zero'), $a >= 1 => doPrint('one'), };
You have javascript disabled. You will not be able to edit any code.