Function

array_search

Synopsis

array_search(mixed, mixed, mixed ...): mixed

Area
Runtime\PS\Core\Arrays\array_searchareas

Description

array_search returns the key of the first $haystack element equal to $needle, or false when there is none; comparison is loose unless $strict is true.

Usage

$value = array_search($arguments);
$fn = array_search(...);

See also