I am looking forward to build an application in php in that application i will need hash table and Maps how to implement this in php, can we do this using associative array?is there any way to doing this?
In the first paragraph on the
array documentation, it says:
An array in PHP is actually an ordered map. A map is a type that associates values to keys. This type is optimized for several different uses; it can be treated as an array, list (vector), hash table (an implementation of a map), dictionary, collection, stack, queue, and probably more. As array values can be other arrays, trees and multidimensional arrays are also possible.
So, you might be searching to do what's already done.