note 25827 added to function.array-key-exists
| From: | ishs at no-spam dot com dot au | Date: | Tue, 08 Oct 2002 04:48:03 +0000 |
| Subject: | note 25827 added to function.array-key-exists | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-37771@lists.php.net to get a copy of this message | ||
"$key"=="$k" will be better.
$key==$k will be a trouble if one array has strings as keys and the other one has numbers as keys.
--
http://www.php.net/manual/en/function.array-key-exists.php
http://master.php.net/manage/user-notes.php?action=edit+25827
http://master.php.net/manage/user-notes.php?action=delete+25827
http://master.php.net/manage/user-notes.php?action=reject+25827