match (true) is a conditional expression, which is the form most people find last and use most.
$band = match (true) {
$cents >= 100_000 => 'enterprise',
$cents >= 10_000 => 'business',
$cents >= 1_000 => 'standard',
default => 'starter',
};
// arms are evaluated in order and the first true one wins,
// exactly like elseif — so the ordering is load-bearing
// and reversing two of these is a silent bug.
The value over an if-chain is that it is an expression, so the variable is assigned once and cannot be left unset by a path nobody wrote. The cost is that the ordering dependency is less visible than in an if-chain, where the indentation gives a hint. Keeping the arms in a monotonic order and saying so in a comment is worth the line, particularly when the conditions are not obviously ordered.