Everyday I wish there was a PHP "match" equivalent for JS, preferably with superpowers, like:
const foo = match(props.project.user.age) {
< 21 => 'β½',
21, 22, 23 => 'π₯³',
> 23 && < 30 => 'π',
>= 30 && < 66 => 'π¨βπ©βπ§'
default => 'π«'
}