Hacker News
new
past
comments
ask
show
jobs
points
by
IshKebab
1 days ago
|
comments
by
marysol5
23 hours ago
|
[-]
Reminds me that in the PHP5 days, there's a load of similar functions of which the parameters switch around...
reply
by
9dev
19 hours ago
|
parent
|
[-]
Shame I forgot to add named arguments above, eliminating this problem too:
array_map(callback: fn($i) => $i * 2, array: [10])
reply