array_sum
facade/ignition
Supported Versions: PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8
Calculate the sum of values in an array
<?php array_sum
(array
$array
):
int
|
float