in_array

in_array -- Return TRUE if a value exists in an array

Description

bool in_array ( mixed needle, array haystack [, bool strict])

Not :

Not :

Exempel 1 . in_array( ) example











Exempel 2 . in_array( ) with strict example











Exempel 3 . in_array( ) with an array as needle