<?php function sum(...$numbers) { $acc = array_sum($numbers); return $acc; } echo sum(1, 2, 3, 4);
You have javascript disabled. You will not be able to edit any code.