note 39721 added to function.array-key-exists
| From: | manicdepressive at mindless dot com | Date: | Sun, 08 Feb 2004 20:07:16 +0000 |
| Subject: | note 39721 added to function.array-key-exists | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-64843@lists.php.net to get a copy of this message | ||
array_key_exists() can be used with objects instead of arrays, and will behave as expected. (this
may or may not incur the overhead of a deep copy (implicity cast to array) -- i don't know).
happy coding,
-mark
----
Manual Page -- http://www.php.net/manual/en/function.array-key-exists.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+39721
Delete -- http://master.php.net/manage/user-notes.php?action=delete+39721&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+39721&report=yes
Search -- http://master.php.net/manage/user-notes.php