The What
Syntax
mixed array_reduce ( array $array , callable $callback [, mixed $initial = NULL ] );
Description
The array_reduce
function applies iteratively the callback function to the elements of the array, so as to reduce the array to a single value.
You get WET when you swim. Stay DRY when you code.
More coming soon…keep checking back.