February 2013
Intermediate to advanced
538 pages
20h 55m
English
array_search
mixed array_search(mixedvalue, arrayarray[, boolstrict])
Performs a search for a value in an array, as with in_array(). If the value is found, the key
of the matching element is returned; NULL is returned if the value is not found.
If strict is specified and is true, a matched element is returned only
when it is of the same type and value as
value.
Read now
Unlock full access