Function array_first
Return the first element in an array passing a given truth test.
Parameters summary
array |
$array |
|
callable |
$callback = null |
|
mixed |
$default = null |
Return value summary
mixed
|
mixed |
Return the first element in an array passing a given truth test.
array |
$array |
|
callable |
$callback = null |
|
mixed |
$default = null |
mixed
|
mixed |