Remix.run Logo
▲ 9dev 11 minutes ago

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',
    });
People always seem to get hung up on the standard library and the runtime, but the language itself is amazing by now.