March 2002
Intermediate to advanced
528 pages
21h 29m
English
in_array
bool in_array(mixedvalue, arrayarray[, boolstrict])
Returns true if the given value exists in the
array. If the third argument is provided and is
true, the function will return
true only if the element exists in the array and
has the same type as the provided value (that is,
"1.23" in the array will not match
1.23 as the argument). If the argument is not
found in the array, the function returns false.