array_key_exists

 bool array_key_exists ( mixed $key , array $search ) 

説明

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

戻り値

Returns TRUE on success or FALSE on failure.