PHP Architect · Vol 18, Issue 3 · March 2019
Internal Apparatus: Hash Table Collisions
by Edward Barnard
We continue our deep dive into how PHP implements arrays as hash tables. We’ll see how the collision chain works. We’re not ready to dig into the C implementation just yet, so we’ll see how to build and rebuild the hash table using PHP code. This month we’re learning how PHP arrays are stored and manipulated; next month we’ll see the C code itself.
The full article is in PHP Architect Vol 18, Issue 3. Subscribe to read it and every new issue.