Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
think
Collection
reverse
think\Collection::reverse PHP Method
Collection Class Documentation
显示文件
Open project: top-think/framework
reverse()
public
method
以相反的顺序返回数组。
public
reverse
( ) :
static
return
static
public function reverse() { return new static(array_reverse($this->items)); }
Collection
__construct
__toString
all
chunk
column
convertToArray
count
diff
each
filter
flip
getIterator
intersect
isEmpty
jsonSerialize
keys
make
merge
offsetExists
offsetGet
offsetSet
offsetUnset
pop
reduce
reverse
shift
shuffle
slice
sort
toArray
toJson
unshift