note 14583 added to language.types.array.php
| From: | ken1 at wolfpackinteractive dot com | Date: | Sun, 05 Aug 2001 08:40:30 +0000 |
| Subject: | note 14583 added to language.types.array.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-16328@lists.php.net to get a copy of this message | ||
As to checking for the existence of an entry, how about:
if(in_array($key, array_keys($array))) ...
http://www.php.net/manual/en/language.types.array.php