php 7.4 arrow function code example
Example: php arrow function
$numbers = [1,2,3];
$modifier = 5;
array_map(fn($x) => $x * $modifier, $numbers);
$numbers = [1,2,3];
$modifier = 5;
array_map(fn($x) => $x * $modifier, $numbers);