What’s the difference between isset() and array_key_exists()? [duplicate]

How do the following two function calls compare:

isset($a['key'])

array_key_exists('key', $a)

8 Answers
8

Leave a Comment