yet at the same time, you can do stuff like this in PHP:
$result = ' PHP 8.6 ' |> trim(...) |> strtolower(...) |> str_replace(' ', '-', ?) |> (fn(string $s): string => match ($s) { 'php-8.6' => 'New hotness!', default => 'Something else', });