Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
think
Collection
shift
think\Collection::shift PHP 메소드
Collection 1 문서
파일 보기
프로젝트 열기: top-think/framework
shift()
공개
메소드
删除数组中首个元素,并返回被删除元素的值
public
shift
( ) :
mixed
리턴
mixed
public function shift() { return array_shift($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