mixed array_reduce ( array $input , callback $function [, mixed $initial = NULL ] )
array_reduce() applies iteratively the function function to the elements of the array input, so as to reduce the array to a single value.
Returns the resulting value. If the array is empty and initial is not passed, array_reduce() returns NULL.