note 76222 deleted from function.array-key-exists by crell

From: Date: Wed, 29 Jun 2022 20:43:08 +0000
Subject: note 76222 deleted from function.array-key-exists by crell
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-218763@lists.php.net to get a copy of this message
Note Submitter: david at madole dot net ---- Regarding performance differences between isset() and array_key_exists(), the differences may be there, but the function are not always interchangable. Note that when $a[1] = null then isset($a[1]) == false but array_key_exists(1, $a) == true

« previous php.notes (#218763) next »