Run Rector on your code to see what it can do for you:
<?php -$fn = function (...$args) { - return array_sum($args); -}; +$fn = array_sum(...); $fn(1, 2, 3);
Applied Rules:
Not a change you expect?
rector.php