array_slice
array_search
in_array
Searches the array for a given value and returns the key if successful.
array_search(mixed $needle, array $haystack): int|string|false