Name: Anonymous 2025-05-26 13:03
Now you can do this:
Instead of this:
$result = "Hello World"
|> 'htmlentities'
|> 'str_split'
|> fn($x) => array_map('strtoupper', $x)
|> fn($x) => array_filter($x, fn($v) => $v != 'O');
Instead of this:
$result = array_filter(
array_map('strtoupper',
str_split(htmlentities("Hello World"))
), fn($v) => $v != 'O'
);