3 ms·
And you can also use the new syntax: $inc = fn ($number) => $number + 1; $x = [1, 2, 3, 4]; array_map($inc, $x);
by bogdanu 6y ago
And you can also use the new syntax:
$inc = fn ($number) => $number + 1;
$x = [1, 2, 3, 4];
array_map($inc, $x);