PHP배열array_search

array_search배열

값의 키를 반환합니다. 없으면 false.

문법

array_search(mixed $needle, array $haystack): int|string|false