note 87847 deleted from function.array-chunk by danbrown
| From: | danbrown@php.net | Date: | Fri, 26 Dec 2008 16:33:33 +0000 |
| Subject: | note 87847 deleted from function.array-chunk by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-148532@lists.php.net to get a copy of this message | ||
Note Submitter: linktosathish at yahoo dot co dot in
----
hashmap in php::
you may use array as hashmap to keep your objects/string.no need to go for separate implementation
through objects for hashmap.
Here is small example::
$employee = Array();
$employee['name'] = 'sathish';
$employee['address'] = '123, abc, xyz';
$member_of_map = Array("yahoo.users", "yahoo.admin");
$employee['member_of'] = $member_of_map;