Alright so I know how to use associative arrays, and the regular arrays. I was wondering though in memory when someone declares an associative array key => value, how does it keep track of the key location?
like when you create a normal array arr[0], it looks at the beginning of arr[] location and works its way through like that but how does it know what location to look for arr['foo']?
or does it simply look through the whole array until it comes across that value? If there is a page on this somewhere you can post the link and I'll take a gander...I just got curious as to how it is treated in memory
Thanks,