Which is the most efficient way to determine if a key is present in an array,assuming the array has no NULL values?
in_array('key', array_keys($a))
isset($a['key'])
array_key_exists('key', $a)
None of the above
Submit