표준 PHP 라이브러리(SPL) SplFixedArray::offsetExists
(PHP 5 >= 5.3.0, PHP 7, PHP 8)
SplFixedArray::offsetExists — 요청된 인덱스가 있는지 여부를 반환합니다.
설명
public SplFixedArray::offsetExists(int $index
): bool
요청한 인덱스 index
가 존재하는지 확인합니다.
매개변수
index
- The index being checked.
반환 값
요청된 index
가 있으면 true
, 그렇지 않으면 false