Function

array_sum

Synopsis

array_sum(mixed): mixed

Area
Runtime\PS\Core\Arrays\array_sumareas

Description

array_sum returns the sum of the values of $array as an int when every value is an integer and as a float once one of them is a float or the total overflows.

Usage

$value = array_sum($arguments);
$fn = array_sum(...);

See also