Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
Scalr
UI
Request
JsonData
has
Scalr\UI\Request\JsonData::has PHP 메소드
JsonData 1 문서
파일 보기
프로젝트 열기: scalr/scalr
has()
공개
메소드
Checks if a value exists in an array
public
has
(
mixed
$needle
,
boolean
$strict
= false ) :
boolean
$needle
mixed
A value
$strict
boolean
optional If it is set to TRUE then function will also check the types of the needle in the haystack.
리턴
boolean
Returns TRUE if needle is found in the array, FALSE otherwise.
public function has($needle, $strict = false) { return in_array($needle, (array) $this, $strict); }
JsonData
has
initFromRequest
search