3 ms·
Actually PHP arrays are ordered dictionaries. Python got standard implementation of this kind of collection type just recently. This 'Frankensteinian mix' is t
by scotty79 16y ago
Actually PHP arrays are ordered dictionaries. Python got standard implementation of this kind of collection type just recently.
This 'Frankensteinian mix' is the most versatile collection type I have seen so far and I attribute large part of PHP success to having this as first choice when in need to keep collection of elements.
You can build vector, list, stack, tree, map without even knowing what those are just confronting what abilities you require with what PHP arrays can do.