difference between isset() and array_key_exists() function in php?

The main difference between isset() and array_key_exists() function is that the array_key_exists() function will definitely tells if a key exists in an array.

What is the difference between new self vs new static in PHP?

What is the difference between new self and new static?
Self: Access to the class that declares it. Static: Access to the current object.