public static keyExists ( string $key, array $array, boolean $caseSensitive = true ) : boolean | ||
$key | string | the key to check |
$array | array | the array with keys to check |
$caseSensitive | boolean | whether the key comparison should be case-sensitive |
return | boolean | whether the array contains the specified key |