note 71374 added to function.array-key-exists

From: Date: Sat, 25 Nov 2006 00:05:03 +0000
Subject: note 71374 added to function.array-key-exists
Groups: php.notes 
Request: Send a blank email to php-notes+get-120064@lists.php.net to get a copy of this message
When dealing with multi-dimensional arrays, this function checks through all keys in the array, including the "child arrays" unlike the array_keys( array, $search ) function which would only check and return from the first level of keys. Took me a couple of minutes to figure out what was wrong and I hope it helps some people when looking for the right function. ---- Server IP: 129.16.214.50 Probable Submitter: 81.235.191.71 ---- Manual Page -- http://www.php.net/manual/en/function.array-key-exists.php Edit -- https://master.php.net/note/edit/71374 Del: integrated -- https://master.php.net/note/delete/71374/integrated Del: useless -- https://master.php.net/note/delete/71374/useless Del: bad code -- https://master.php.net/note/delete/71374/bad+code Del: spam -- https://master.php.net/note/delete/71374/spam Del: non-english -- https://master.php.net/note/delete/71374/non-english Del: in docs -- https://master.php.net/note/delete/71374/in+docs Del: other reasons-- https://master.php.net/note/delete/71374 Reject -- https://master.php.net/note/reject/71374 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#120064) next »