芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/qrafiqxcreativeagency.com/accounts/office/vendor/azjezz/psl/src/Psl/Iter/reduce.php
$iterable * @param (Closure(Ts, T): Ts) $function * @param Ts $initial * * @return Ts */ function reduce(iterable $iterable, Closure $function, mixed $initial): mixed { $accumulator = $initial; foreach ($iterable as $v) { $accumulator = $function($accumulator, $v); } return $accumulator; }