|
array_findReturns the first element satisfying a callback function Description
mixed array_find(array
$array , callable $callback )
array_find returns the value of the first element of an
array for which the given Parameters
Return Values
The function returns the value of the first element for which the
ExamplesExample #1 array_find example
The above example will output: string(5) "goose" NULL string(3) "cow" string(3) "dog" See Also
|