Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Collections
CollectionInterface
reduceRight
Collections\CollectionInterface::reduceRight PHP Method
CollectionInterface Interface Documentation
Show file
Open project: danielgsims/php-collections
reduceRight()
public
method
Iteratively reduces the collection to a single value using the callback function $callable starting at the rightmost index.
public
reduceRight
(
callable
$callable
,
null
$initial
= null ) :
mixed
$callable
callable
$initial
null
return
mixed
public function reduceRight(callable $callable, $initial = null);
CollectionInterface
add
at
clear
contains
count
drop
dropRight
dropWhile
each
every
filter
find
findIndex
findLast
findLastIndex
getIterator
getType
indexExists
insert
insertRange
map
merge
reduce
reduceRight
removeAt
reverse
shuffle
slice
sort
tail
take
takeRight
takeWhile
toArray
without