Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Arrayzy
AbstractArray
contains
Arrayzy\AbstractArray::contains PHP Метод
Документация по классу AbstractArray
Показать файл
Открыть проект
contains()
публичный
Метод
Check if the given value exists in the array.
public
contains
(
mixed
$element
) :
boolean
$element
mixed
Value to search for
Результат
boolean
Returns true if the given value exists in the array, false otherwise
public function contains($element) { return in_array($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