array_find < PHP
The array_find function returns the first element in an array that satisfies a callback function.
$states = ['Idaho', 'Texas', 'Maine', 'Vermont'];
$statesSlice = array_slice($states, 2);
print_r($statesSlice);
// Array ( [0] => Maine [1] => Vermont )