Shame I forgot to add named arguments above, eliminating this problem too:
array_map(callback: fn($i) => $i * 2, array: [10])