|
array_reduceIteratively reduce the array to a single value using a callback function Description
mixed array_reduce(array
$array, callable $callback, mixed $initial = null)
array_reduce applies iteratively the
Parameters
Return ValuesReturns the resulting value.
If the array is empty and Changelog
Examples
Example #1 array_reduce example See Also
|