by _RPM · 11y ago · 0 comments
There is no "hash table" type in PHP user land.
There are only hash tables that are called "array" for simplicity.
This "bucket" also handles the collisions by using separate chaining. There is actually two "next" pointers, one for the chains, and one for the next element in order of insertion. Very confusing and requires reading through the code and playing with it.
That's why the lend themselves to the same syntax so well.