Is there Java HashMap equivalent in PHP?

newbie picture newbie · Jul 27, 2011 · Viewed 100.2k times · Source

I need PHP object similar to HashMap in Java, but I didn't find when I googled, so if someone knows how I can mimic HashMaps in PHP, help would be appreciated.

Answer

sushil bharwani picture sushil bharwani · Jul 27, 2011

Arrays in PHP can have Key Value structure.