note 23808 deleted from function.array-key-exists by dams
| From: | dams@php.net | Date: | Tue, 30 Jul 2002 00:31:15 +0000 |
| Subject: | note 23808 deleted from function.array-key-exists by dams | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-33923@lists.php.net to get a copy of this message | ||
array_key_exists($key,$array) /*in PHP v.<4.1.0*/ <=> in_array(array_keys($array),$key)
i think this is more precise than array_search and tinier than list()=each()
;-)