note 41575 deleted from function.array-key-exists by cece
| From: | cece@php.net | Date: | Sat, 05 Jun 2004 15:46:44 +0000 |
| Subject: | note 41575 deleted from function.array-key-exists by cece | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-70796@lists.php.net to get a copy of this message | ||
Note Submitter: werner.frerichs@gmx.de
----
In PHP 4.0.x create your own version of array_key_exists
for example:
function array_key_exists ($key,$array) {
$keys=array_keys ($array);
return (in_array($key,$keys));
}