array_key_exists

Example

 bool array_key_exists ( mixed $key , array $search ) 

Description

array_key_exists() returns TRUE if the given key is set in the array. key can be any value possible for an array index.

Return Values

Returns TRUE on success or FALSE on failure.