Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
Arrayzy
AbstractArray
search
Arrayzy\AbstractArray::search PHP 메소드
AbstractArray 1 문서
파일 보기
프로젝트 열기: bocharsky-bw/arrayzy
search()
공개
메소드
Search for a given element and return the index of its first occurrence.
public
search
(
mixed
$element
) :
mixed
$element
mixed
Value to search for
리턴
mixed
The corresponding key/index
public function search($element) { return array_search($element, $this->elements, true); }
AbstractArray
__construct
checkType
chunk
clear
combine
contains
containsKey
count
create
createClone
createFromJson
createFromObject
createFromString
createWithRange
diff
except
exists
filter
find
flip
getIterator
getKeys
getRandom
getRandomKey
getRandomKeys
getRandomValues
getValues
indexOf
intersect
intersectAssoc
intersectKey
isAssoc
isEmpty
isNumeric
map
merge
offsetExists
offsetGet
offsetSet
offsetUnset
only
pad
reduce
reindex
replace
reverse
search
shuffle
slice
unique
walk