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

From: Date: Wed, 29 Jun 2022 20:39:30 +0000
Subject: note 71495 deleted from function.array-key-exists by crell
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-218746@lists.php.net to get a copy of this message
Note Submitter: Matt ---- mikael dot knutsson at gmail dot com: I don't think it does, at least in PHP5? For example, this outputs bool(false): $ar = array ( 'outter' => array ( 'inner' => 1 ) ); var_dump(array_key_exists('inner', $ar)); So it doesn't actually check the inner array for the key 'inner'.

« previous php.notes (#218746) next »