I'm trying to understand hash tables - can someone explain it to me - clearly?

Posted by Stevo on Programmers See other posts from Programmers or by Stevo
Published on 2011-03-18T08:14:13Z Indexed on 2011/03/18 8:17 UTC
Read the original article Hit count: 305

Filed under:
|
|

I want to understand the correct use and implementation of hash tables in php (sorry).

I read somewhere that an in-experienced programmer created a hash table and then iterated through it. Now, I understand why that is wrong but I haven't quite got the full knowledge to know if my understanding is correct (if you know what I mean).

So could someone explain to me how to implement a hash table in php (presumably an associative array) and perhaps more importantly, how to access the values 'with a hash' and what that actually means?

© Programmers or respective owner

Related posts about best-practices

Related posts about php