Y
Hacker News
new
|
ask
|
show
|
jobs
by
9dev
12 days ago
Shame I forgot to add named arguments above, eliminating this problem too:
array_map(callback: fn($i) => $i * 2, array: [10])