note 71495 added to function.array-key-exists

From: Date: Fri, 01 Dec 2006 21:50:28 +0000
Subject: note 71495 added to function.array-key-exists
Groups: php.notes 
Request: Send a blank email to php-notes+get-120225@lists.php.net to get a copy of this message
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'. ---- Server IP: 66.163.161.117 Probable Submitter: 74.110.130.103 ---- Manual Page -- http://www.php.net/manual/en/function.array-key-exists.php Edit -- https://master.php.net/note/edit/71495 Del: integrated -- https://master.php.net/note/delete/71495/integrated Del: useless -- https://master.php.net/note/delete/71495/useless Del: bad code -- https://master.php.net/note/delete/71495/bad+code Del: spam -- https://master.php.net/note/delete/71495/spam Del: non-english -- https://master.php.net/note/delete/71495/non-english Del: in docs -- https://master.php.net/note/delete/71495/in+docs Del: other reasons-- https://master.php.net/note/delete/71495 Reject -- https://master.php.net/note/reject/71495 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#120225) next »