note 27465 deleted from function.array-key-exists by didou
| From: | didou@php.net | Date: | Wed, 30 Jul 2003 03:25:00 +0000 |
| Subject: | note 27465 deleted from function.array-key-exists by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-52982@lists.php.net to get a copy of this message | ||
Note Submitter:
----
For versions before 4.1.0:
function arrayKeyExists($key, $search) {
if (in_array($key, array_keys($search))) {
return true;
} else {
return false;
}
}