mirror of
https://github.com/danog/parser.git
synced 2024-12-12 09:09:37 +01:00
479f51913c
Signed-off-by: azjezz <azjezz@protonmail.com>
12 lines
138 B
PHP
12 lines
138 B
PHP
<?php
|
|
|
|
|
|
match ($s) {
|
|
1 => 2,
|
|
3, => 4,
|
|
5,6 => 4,
|
|
9, 123, => 4,
|
|
_ => 43, // _ here is a constant
|
|
default => 124,
|
|
};
|