PHP hashmap

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
ofermisk
Forum Newbie
Posts: 5
Joined: Sun Nov 26, 2006 6:07 am

PHP hashmap

Post by ofermisk »

Hi,
I come from the It world, especialy java.
I discovered PHP by mistake, and up to now, it was a sweet mistake :D .
However, i need your help with something :
Is there a java HashMap like PHP object?
I am not talking arrays or arrayLists, but hashMaps...

Thanks,
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Unless I've misunderstood what a HashMap is, that's a basic array in PHP.
User avatar
johno
Forum Commoner
Posts: 36
Joined: Fri May 05, 2006 6:54 am
Location: Bratislava/Slovakia
Contact:

Post by johno »

feyd wrote:Unless I've misunderstood what a HashMap is, that's a basic array in PHP.
Yes it is unless you want an object as a key. Then you have to get your fingers into this.
Post Reply