PHPize Online / SQLize Online

A A A
Share   Donate   Blog   Popular
Copy Format Clear
Copy
Copy Format Clear
<?php $massive = [1, 2, 3, 4, 5]; function opa(...$numbers) { echo implode(' + ', $numbers) . ' = ' . array_sum($numbers); } opa(...$massive);
Show:  
Copy